test_compos/Dockerfile

18 lines
417 B
Docker
Raw Normal View History

2024-12-16 18:33:45 +02:00
# Use the official Python image with a specific version
FROM python:3.10-slim
# Set the working directory
WORKDIR /app
# Copy requirements and install them (if there were any)
COPY requirements.txt /app/
RUN pip install -r requirements.txt
# Copy the rest of the application code
COPY . /app
# Expose the port the app runs on
EXPOSE 5000
# Command to run the application
2024-12-16 19:45:16 +02:00
CMD ["python", "app.py"]