2024-01-24 18:04:10 +01:00
|
|
|
FROM python:3.11.6-alpine3.18
|
|
|
|
|
|
|
|
RUN apk add dumb-init
|
2021-07-27 22:51:52 +02:00
|
|
|
|
|
|
|
COPY requirements.txt .
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
|
2024-01-24 18:04:10 +01:00
|
|
|
WORKDIR /app
|
2021-07-27 22:51:52 +02:00
|
|
|
COPY src .
|
2024-01-24 18:04:10 +01:00
|
|
|
COPY LICENSE .
|
2021-07-27 22:51:52 +02:00
|
|
|
|
2024-01-24 18:04:10 +01:00
|
|
|
CMD [ "dumb-init", "python", "-u", "./main.py" ]
|