Compare commits

..

2 Commits
v1.0.0 ... main

Author SHA1 Message Date
d278664f05 Add * to allowed hosts 2025-10-27 16:43:51 +00:00
c2f417036f Remove django user 2025-10-22 15:39:43 +01:00
2 changed files with 4 additions and 4 deletions

View File

@ -13,8 +13,8 @@ WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
EXPOSE 8000
COPY --chown=django . .
USER django:django
#COPY --chown=django . .
COPY . .
#USER django:django
ENTRYPOINT ["/bin/bash", "entrypoint.sh"]

View File

@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-tnwju9!q=iyct2(m1r(e&f9x&z4syi2hqd2e)x78((9c(fj=l@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['*']
# Application definition