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