chess-fast-api / Dockerfile
Narendra9009's picture
added gitignore and some api keys
d1fd5c0
raw
history blame
304 Bytes
FROM python:3.9
# Set the working directory in the container
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy everything from the current directory to the container
COPY . .
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]