From 58e5eef2e82053fa1ee6bcfddc888046e16b9aa8 Mon Sep 17 00:00:00 2001 From: August Johnson Date: Sat, 5 Oct 2024 18:03:30 -0500 Subject: [PATCH] Maybe this will fix static files? --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b1986281..d9249a02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,10 @@ WORKDIR /opt/services/open5e-api # copy our project code # install our dependencies -RUN pip install pipenv +RUN pip install pipenv gunicorn COPY . /opt/services/open5e-api -RUN pipenv install --deploy + +RUN pipenv install # migrate the db, load content, and index it RUN pipenv run python manage.py quicksetup @@ -16,4 +17,4 @@ RUN pipenv run python manage.py quicksetup RUN rm .env #run gunicorn. -CMD ["pipenv", "run", "gunicorn","-b", ":8888", "server.wsgi:application"] +CMD ["pipenv", "run", "gunicorn","-b", ":8888", "server.wsgi:application"] \ No newline at end of file