Tom/Dockerfile

13 lines
204 B
Text
Raw Normal View History

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
WORKDIR /app
2021-07-27 22:51:52 +02:00
COPY src .
COPY LICENSE .
2021-07-27 22:51:52 +02:00
CMD [ "dumb-init", "python", "-u", "./main.py" ]