Flask-Testing / Dockerfile
Sanji003's picture
Create Dockerfile
9d45a50
# Use the official Python base image
FROM python:3.9
# Set the working directory in the container
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY . /app
# Install Flask
RUN pip install flask
# Expose the Flask port
EXPOSE 7860
# Define the command to run your application
CMD ["python", "app.py"]