diff --git a/.env.debug b/.env.debug new file mode 100644 index 0000000..6cc6b10 --- /dev/null +++ b/.env.debug @@ -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 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 937ced3..2565116 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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