update dockerfile and settings

This commit is contained in:
zema1
2017-10-24 21:14:29 +08:00
parent e8841eae82
commit b694000ab9
9 changed files with 19 additions and 137 deletions

View File

@@ -1,7 +1,7 @@
FROM python:3.6-alpine3.6
ENV OJ_ENV production
RUN apk add --no-cache nginx supervisor jpeg-dev zlib-dev postgresql-dev freetype-dev
RUN apk add --no-cache supervisor jpeg-dev zlib-dev postgresql-dev freetype-dev
ADD requirements.txt /tmp
RUN apk add --no-cache build-base && \