Skip to content

Commit

Permalink
Adjusting the dockerfile to no longer use virtual env
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjohnson committed Oct 5, 2024
1 parent 0fc172e commit fd3095d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ COPY . /opt/services/open5e-api
RUN pipenv install --system --deploy

# migrate the db, load content, and index it
RUN pipenv run python manage.py quicksetup
RUN python manage.py quicksetup

# remove .env file (set your env vars via docker-compose.yml or your hosting provider)
RUN rm .env

#run gunicorn.
CMD ["pipenv", "run", "gunicorn","-b", ":8888", "server.wsgi:application"]
CMD ["gunicorn","-b", ":8888", "server.wsgi:application"]

0 comments on commit fd3095d

Please sign in to comment.