lastplayed/api/Dockerfile

15 lines
No EOL
334 B
Docker

FROM python:3.12.4-alpine
RUN apk add --no-cache --update git make gcc python3-dev musl-dev && \
set -ex && \
pip install --no-cache-dir pipenv==2023.12.1
ADD Pipfile Pipfile
ADD Pipfile.lock Pipfile.lock
RUN set -ex && \
pipenv install --dev --system --deploy
ADD app app
CMD exec gunicorn app.main:app