emotune_be / Dockerfile
srisuriyas's picture
Update Dockerfile
02bee03 verified
raw
history blame contribute delete
271 Bytes
# Use Python base image
FROM python:3.10-slim
# Set work directory
WORKDIR /code
# Copy files
COPY . .
# Install dependencies
RUN pip install --upgrade pip && pip install -r requirements.txt
# Expose the Flask port
EXPOSE 7860
# Run the app
CMD ["python", "app.py"]