prompt-engine / Dockerfile
Lazar Radojevic
switch to pip
b7f4fe2
raw
history blame
386 Bytes
# Use the official Python image from the Docker Hub
FROM python:3.10-slim
# Set the working directory in the container
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
# Copy the rest of the application code to the working directory
COPY . .
# Expose the port FastAPI will run on
EXPOSE 7860
# Command to run the FastAPI application
CMD ["python", "run.py"]