Now deployable
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FROM alpine
|
||||
|
||||
RUN apk --no-cache add python3 inkscape bash imagemagick ttf-opensans
|
||||
RUN apk --no-cache add py3-pip && pip3 install django tzdata
|
||||
RUN apk --no-cache add py3-pip && pip3 install django tzdata gunicorn
|
||||
|
||||
ADD backend /root/zetikettes
|
||||
|
||||
@@ -11,5 +11,5 @@ RUN mkdir -p /usr/share/fonts/TTF \
|
||||
|
||||
|
||||
# the script will look for templates in /data
|
||||
WORKDIR /root/zetikettes
|
||||
CMD /usr/bin/python3 zetikettes/manage.py runserver 0.0.0.0:8000
|
||||
WORKDIR /root/zetikettes/zetikettes
|
||||
CMD /usr/bin/gunicorn zetikettes.wsgi -b 0.0.0.0:8000 --timeout 600
|
||||
|
Reference in New Issue
Block a user