mastodon-random-sentence-bot/Dockerfile

13 lines
231 B
Docker
Raw Normal View History

2023-12-09 00:25:33 +09:00
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"]