update apk before installing dependencies

This commit is contained in:
mcnesium 2018-10-28 16:45:15 +01:00 committed by GitHub
parent 5bd839e176
commit 44f74d8ecd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
FROM python:3.6-alpine FROM python:3.6-alpine
RUN apk add gcc libc-dev libffi-dev openssl-dev &&\ RUN apk update && apk add gcc libc-dev libffi-dev openssl-dev &&\
mkdir /ihatemoney &&\ mkdir /ihatemoney &&\
mkdir -p /etc/ihatemoney &&\ mkdir -p /etc/ihatemoney &&\
pip install --no-cache-dir gunicorn pymysql pip install --no-cache-dir gunicorn pymysql