Fix borken thangs
This commit is contained in:
parent
092c0d17ae
commit
bbc59931e1
@ -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 gunicorn
|
||||
RUN apk --no-cache add py3-pip && pip3 install --break-system-packages django tzdata gunicorn
|
||||
|
||||
ADD backend /root/zetikettes
|
||||
|
||||
@ -12,4 +12,4 @@ RUN mkdir -p /usr/share/fonts/TTF \
|
||||
|
||||
# the script will look for templates in /data
|
||||
WORKDIR /root/zetikettes/zetikettes
|
||||
CMD /usr/bin/gunicorn zetikettes.wsgi -b 0.0.0.0:8000 --timeout 600
|
||||
CMD /usr/bin/gunicorn zetikettes.wsgi -b 0.0.0.0:8000 --timeout 600 --forwarded-allow-ips="*"
|
||||
|
@ -121,7 +121,7 @@ USE_TZ = True
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/4.2/howto/static-files/
|
||||
|
||||
STATIC_URL = 'static/'
|
||||
STATIC_URL = '/zetikettes/srv/static/'
|
||||
|
||||
STATIC_ROOT = 'www_static'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user