imageupload / Dockerfile
manny1313's picture
First commit
67e39cd
raw
history blame contribute delete
290 Bytes
# Use official Python image
FROM python:3.10
# Set working directory
WORKDIR /app
# Copy files
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port
EXPOSE 7860
# Run the app
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]