Files
dokku/tests/apps/dockerfile-release/Dockerfile
dependabot[bot] f0ff6d9a49 chore(deps): bump python in /tests/apps/dockerfile-release
Bumps python from 3.8-buster to 3.10.0-buster.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 23:11:20 +00:00

20 lines
307 B
Docker

FROM python:3.10.0-buster
RUN pip install --user pipenv
ENV PATH="${PATH}:/root/.local/bin"
ENV PIPENV_VENV_IN_PROJECT=0
COPY . /app
WORKDIR /app
RUN ls -lah
RUN rm -rf .venv
RUN mkdir .venv
RUN pipenv install
CMD pipenv run gunicorn -b 0.0.0.0:8000 --workers=3 --threads=5 project.wsgi:application