halfapi/Dockerfile

10 lines
223 B
Docker
Raw Normal View History

2021-10-12 03:13:25 +02:00
# syntax=docker/dockerfile:1
FROM python:3.11.4-alpine3.18
2021-10-12 03:13:25 +02:00
COPY . /halfapi
WORKDIR /halfapi
RUN apk update > /dev/null && apk add git > /dev/null
2021-10-12 18:08:07 +02:00
RUN pip install gunicorn uvicorn
RUN pip install .
2021-10-12 03:13:25 +02:00
CMD gunicorn halfapi.app