Fixed dockerfile

This commit is contained in:
Jonathan Ervine 2020-11-09 11:08:16 +08:00
parent 777a9d8c00
commit 7011796419

View File

@ -1,6 +1,6 @@
# Base on latest (edge) alpine image
FROM harbor.ervine.dev/public/x86_64/alpine:v3.12
LABEL "Maintainer Jonathan Ervine <docker@ervine.org>"
LABEL Maintainer="Jonathan Ervine <docker@ervine.org>"
# Install updates
ENV LANG='en_US.UTF-8' \
@ -8,7 +8,7 @@ ENV LANG='en_US.UTF-8' \
FLASK_APP=/data/app-dev/app.py
RUN apk update && \
apk -U upgrade --ignore aline-baselayout && \
apk -U upgrade --ignore alpine-baselayout && \
apk -U add python3 gcc py3-pip python3-dev musl-dev libffi-dev git && \
adduser -D python