jericho / Dockerfile
akkiisfrommars's picture
initial deployment
17cb583
raw
history blame contribute delete
291 Bytes
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy all project files
COPY . .
# Expose the API port
EXPOSE 8000
# Start the FastAPI server
CMD ["python", "run.py"]