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

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 23:50:10 +00:00

20 lines
307 B
Docker

FROM python:3.11.4-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