Supprimer app/Dockerfile
This commit is contained in:
parent
3db68a494e
commit
072bb04e60
@ -1,18 +0,0 @@
|
||||
# Basic image from Docker Hub
|
||||
FROM python:3.9-slim
|
||||
|
||||
# Container working directory settings
|
||||
WORKDIR /app
|
||||
|
||||
# Copy the requirements file and install Python
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
# Copy application files to the image
|
||||
COPY app.py .
|
||||
|
||||
# Expose port 5000 for the Flask application
|
||||
EXPOSE 5000
|
||||
|
||||
# Program to run
|
||||
CMD ["python", "app.py"]
|
Loading…
Reference in New Issue
Block a user