Tom/Dockerfile

9 lines
146 B
Docker

FROM python:3.9.5-slim
COPY requirements.txt .
RUN pip install -r requirements.txt
WORKDIR /opt
COPY src .
CMD [ "python", "-u", "./main.py" ]