Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d278664f05 | |||
| c2f417036f |
@ -13,8 +13,8 @@ WORKDIR /app
|
|||||||
COPY requirements.txt requirements.txt
|
COPY requirements.txt requirements.txt
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
COPY --chown=django . .
|
#COPY --chown=django . .
|
||||||
|
COPY . .
|
||||||
USER django:django
|
#USER django:django
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/bash", "entrypoint.sh"]
|
ENTRYPOINT ["/bin/bash", "entrypoint.sh"]
|
||||||
|
|||||||
@ -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!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
ALLOWED_HOSTS = []
|
ALLOWED_HOSTS = ['*']
|
||||||
|
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user