File size: 363 Bytes
f5312f5 322d04c dd39f46 480dd15 f5312f5 480dd15 dcb41cd 911a6b2 480dd15 dd39f46 5fcc173 dd39f46 d819dfc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# Use a specific version for the base image
FROM python:3.8
# Set a working directory in the container
WORKDIR /app
# Install dependencies
RUN pip install fastapi-proxy-lib[standard]
RUN pip install uvicorn
# Copy application files to the container at /app
COPY . /app
# Expose the desired port
EXPOSE 8080
# Command to run the script
CMD ["python","run.py"]
|