crop / Dockerfile
NEEHARA's picture
Update Dockerfile
e2c3d91 verified
raw
history blame contribute delete
275 Bytes
# Use official Python image
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy files
COPY . .
# Install dependencies
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Expose port
EXPOSE 7860
# Run your Flask app
CMD ["python", "app.py"]