Update the dockerfile and upgrade dependencies

This commit is contained in:
kaiyou
2018-11-08 21:29:11 +01:00
parent 4a7eb1eb6c
commit f9e30bd87c
4 changed files with 25 additions and 32 deletions

View File

@@ -11,12 +11,12 @@ RUN apk add --no-cache openssl \
COPY mailu ./mailu
COPY migrations ./migrations
COPY manage.py .
COPY start.sh /start.sh
RUN pybabel compile -d mailu/translations
EXPOSE 80/tcp
VOLUME ["/data"]
ENV FLASK_APP mailu
CMD ["/start.sh"]