Use Gitea actions instead of woodpecker and updated dependencies
All checks were successful
build

This commit is contained in:
2023-03-28 00:22:13 +02:00
parent c2cc959309
commit ded175cdd2
11 changed files with 168 additions and 11405 deletions

View File

@@ -3,12 +3,16 @@ FROM python:3.11-slim
# Change the working directory to the root of the project
WORKDIR /srv/flask_app
# Create venv
RUN python -m venv myvenv
ENV PATH="myvenv/bin:$PATH"
# Install the dependencies
COPY telegram_bot/requirements.txt /srv/flask_app/
COPY 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
COPY . /srv/flask_app
# Change file permissions
RUN chmod +x ./deploy/start.sh