Switched to node builder
This commit is contained in:
+5
-6
@@ -9,15 +9,14 @@ ENV LANG='en_US.UTF-8' \
|
||||
FLASK_APP=/data/app-dev/app.py
|
||||
|
||||
RUN apk update && \
|
||||
apk -U upgrade && \
|
||||
apk -U add python3 gcc py3-pip python3-dev musl-dev libffi-dev git && \
|
||||
adduser -D python
|
||||
apk -U upgrade && \
|
||||
apk -U add python3 gcc py3-pip python3-dev musl-dev libffi-dev git && \
|
||||
adduser -D python
|
||||
|
||||
RUN mkdir /data && cd /data && git clone --single-branch --branch dev https://git.ervine.org/jonny/gcp-hockey-results /data
|
||||
|
||||
RUN pip3 install -r /data/requirements.txt
|
||||
|
||||
RUN rm -rf /tmp/src && rm -rf /var/cache/apk/*
|
||||
RUN pip3 install -r /data/requirements.txt && \
|
||||
rm -rf /tmp/src && rm -rf /var/cache/apk/*
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user