From 72a579c242f72e7e9e7f7015d87e7fcf43575fe1 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Sat, 1 Jun 2024 21:02:08 +0200 Subject: [PATCH] update dockerfile for generic nginx.conf --- Dockerfile.contactform | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.contactform b/Dockerfile.contactform index 0594a45..f1b3510 100644 --- a/Dockerfile.contactform +++ b/Dockerfile.contactform @@ -24,14 +24,14 @@ RUN apt-get update && \ ENV VIRTUAL_ENV=/app/.venv \ PATH="/app/.venv/bin:$PATH" \ - PYTHONPATH="/contactform" \ + PYTHONPATH="/conferenceli" \ GUNICORN_CMD_ARGS="--workers=1 --bind=unix:/app/gunicorn.sock --access-logfile=-" COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV} -COPY contactform ./contactform +COPY contactform ./conferenceli COPY nginx.conf /etc/nginx/nginx.conf EXPOSE 8080 -CMD ["sh", "-c", "nginx && gunicorn contactform.app:app"] +CMD ["sh", "-c", "nginx && gunicorn conferenceli.app:app"]