Spaces:
Runtime error
Runtime error
Added Dockerfile
Browse files123456789101112131415161718192021222324# Use an official Python 3.12 runtime as a parent imageFROM python:3.12
# Set the working directory in the containerWORKDIR /app
# Copy the requirements.txt file into the containerCOPY requirements.txt /app/requirements.txt
# Install the required packagesRUN pip install --no-cache-dir -r /app/requirements.txt
# Copy the rest of the application code into the containerCOPY . /app
# Set environment variablesENV FLASK_APP=run.pyENV FLASK_ENV=production
# Expose the port the app runs onEXPOSE 7860
# Define the command to run the applicationCMD ["gunicorn", "--bind", "0.0.0.0:7860", "run:app"]DockerfileAdded+24