Выделение Docker в отдельную ветвь

This commit is contained in:
2024-11-07 10:50:14 +03:00
parent e76b26c6d6
commit 200116f6f4
2 changed files with 0 additions and 22 deletions

View File

@@ -1,18 +0,0 @@
# Use the official Python image as a base
FROM python:3.9.20-alpine3.19
# Set the working directory inside the container
WORKDIR /app
# Copy the contents of the 'App' folder to the working directory
COPY App/ /app
# Copy the requirements file to the working directory
COPY requirements.txt /app
# Install the dependencies from the requirements file
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 5001
# Command to run the application
CMD ["python", "app.py"]

View File

@@ -1,4 +0,0 @@
#!/bin/bash
docker build -t tsettaro/kursovaya-ris:latest .
docker push tsettaro/kursovaya-ris:latest