13 lines
231 B
Docker
13 lines
231 B
Docker
|
FROM python:bookworm
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY src src
|
||
|
COPY main.py main.py
|
||
|
COPY requirements.txt requirements.txt
|
||
|
|
||
|
# RUN python -m venv venv
|
||
|
# RUN source ./venv/bin/activate
|
||
|
RUN pip install -r requirements.txt
|
||
|
|
||
|
CMD ["python", "main.py"]
|