mastodon-random-sentence-bot/Dockerfile
2023-12-09 00:25:33 +09:00

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"]