Skip to content

Commit

Permalink
Maybe this will fix static files?
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjohnson committed Oct 5, 2024
1 parent fed6dc2 commit 58e5eef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]

0 comments on commit 58e5eef

Please sign in to comment.