update settings
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
FROM python:3.6
|
||||
FROM python:3.6-alpine3.6
|
||||
|
||||
ADD requirements.txt /tmp
|
||||
RUN pip install -r /tmp/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
WORKDIR /app
|
||||
CMD python manage.py runserver 0.0.0.0:8085
|
||||
RUN apk add --no-cache --virtual .build-deps build-base jpeg-dev zlib-dev postgresql-dev && \
|
||||
pip install -r /tmp/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple && \
|
||||
apk del .build-deps --purge
|
||||
|
||||
Volume ["/app"]
|
||||
|
||||
CMD sh /app/deploy/run.sh
|
||||
|
||||
Reference in New Issue
Block a user