'update files with ansible'
This commit is contained in:
Executable → Regular
+5
-5
@@ -1,6 +1,6 @@
|
||||
# Base on latest (edge) alpine image
|
||||
FROM harbor.ervine.dev/public/x86_64/alpine:v3.13
|
||||
LABEL Maintainer="Jonathan Ervine <docker@ervine.org>"
|
||||
FROM harbor.ervine.dev/public/x86_64/alpine:v3.13.1
|
||||
LABEL Maintainer="Jonathan Ervine docker@ervine.org"
|
||||
|
||||
# Install updates
|
||||
ENV LANG='en_US.UTF-8' \
|
||||
@@ -10,15 +10,15 @@ ENV LANG='en_US.UTF-8' \
|
||||
RUN apk update && \
|
||||
apk -U upgrade --ignore alpine-baselayout && \
|
||||
apk -U add python3 gcc py3-pip python3-dev musl-dev libffi-dev git && \
|
||||
adduser -D python
|
||||
adduser -D hockey
|
||||
|
||||
RUN mkdir /data && cd /data && git clone --single-branch --branch master https://git.ervine.org/jonny/gcp-hockey-results /data
|
||||
RUN mkdir /idata && cd /data && git clone --single-branch --branch master https://git.ervine.org/jonny/gcp-hockey-results.git /data
|
||||
|
||||
RUN pip3 install -r /data/requirements.txt && \
|
||||
rm -rf /tmp/src && rm -rf /var/cache/apk/*
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
#USER python
|
||||
#USER hockey
|
||||
|
||||
CMD [ "/usr/bin/python3", "/data/main.py" ]
|
||||
|
||||
Reference in New Issue
Block a user