1
1
mirror of https://github.com/derogab/ITAvsCOVIDbot synced 2024-12-29 08:50:15 +01:00
ITAvsCOVIDbot/Dockerfile
2021-01-06 17:57:35 +01:00

19 lines
346 B
Docker

FROM python:3
# Set working space
WORKDIR /usr/src/app
# Install requirements
RUN ln -snf /usr/share/zoneinfo/Europe/Rome /etc/localtime && \
apt-get update && apt-get install -y wkhtmltopdf
COPY requirements.txt .
RUN pip install -r requirements.txt
# Copy app
COPY . .
# Create folder
RUN mkdir out
# Start the bot
CMD python -u bot.py