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