update apk before installing dependencies (#398)

This commit is contained in:
mcnesium 2018-12-25 16:58:15 +01:00 committed by Alexis Metaireau
parent 0428cf06b5
commit cdbcd763ef

View file

@ -1,6 +1,6 @@
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 -p /etc/ihatemoney &&\
pip install --no-cache-dir gunicorn pymysql