This repository has been archived on 2025-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
RIS/Dockerfile
2024-11-06 01:08:21 +03:00

19 lines
475 B
Docker

# 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"]