demo-docker-gradio / Dockerfile
sigyllly's picture
Update Dockerfile
9c0cec7 verified
raw
history blame
385 Bytes
# Use the Inno Setup Docker image
FROM amake/innosetup
# Set the working directory
WORKDIR /app
# Copy your main.py and any other necessary files
COPY main.py .
COPY requirements.txt .
# Install Flask and other Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the necessary port
EXPOSE 7860
# Command to run your Flask app
CMD ["python", "main.py"]