change .env to be softlink
This commit is contained in:
parent
dcb2e483b6
commit
8d316f07ce
2 changed files with 12 additions and 1 deletions
10
.env.debug
Normal file
10
.env.debug
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
DEBUG=true
|
||||
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres
|
||||
ACCOUNT_EMAIL_VERIFICATION=none
|
||||
DJANGO_SETTINGS_MODULE=django_project.settings
|
||||
RESEND_API_KEY=re_22222222222222222222222222222222
|
||||
HONEYBADGER_API_KEY=hbp_222222222222222222222222222222222222
|
||||
ALLOWED_HOSTS=localhost,0.0.0.0,127.0.0.1,pkmntrade-club.fly.dev,pkmntrade.club
|
||||
CSRF_TRUSTED_ORIGINS=https://pkmntrade-club.fly.dev,https://pkmntrade.club
|
||||
SECRET_KEY=django-insecure-0peo@#x9jur3!h#ryje!$879xww8y1y66jx!%*#ymhg&jkozs2
|
||||
DOCKER_BUILDKIT=1
|
||||
|
|
@ -19,7 +19,8 @@ RUN apt-get update && apt-get install -y nodejs npm xvfb netcat-openbsd nano cur
|
|||
RUN playwright install-deps && playwright install
|
||||
|
||||
COPY . /code/
|
||||
COPY .env.production /code/.env
|
||||
RUN rm -f .env
|
||||
COPY .env.production .env
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue