TelegramAktienBot/telegram_bot/Dockerfile
Renovate Bot 5fa121ce5e
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
Update python Docker tag to v3.11
2022-10-26 03:20:20 +02:00

17 lines
446 B
Docker

FROM python:3.11-slim
# Change the working directory to the root of the project
WORKDIR /srv/flask_app
# Install the dependencies
COPY telegram_bot/requirements.txt /srv/flask_app/
RUN pip install -r requirements.txt --src /usr/local/src --no-warn-script-location
# Copy the source code to the working directory
COPY telegram_bot /srv/flask_app
# Change file permissions
RUN chmod +x ./deploy/start.sh
# Run the app
CMD ["./deploy/start.sh"]