CirculartextAI1 / Dockerfile
circulartext's picture
Update Dockerfile
06cf2a2 verified
raw
history blame
459 Bytes
# Use your base Docker image from Docker Hub
FROM circulartextapp/circulartextai
# Set the working directory
WORKDIR /code
# Copy the requirements file and install dependencies
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
# Copy the rest of your application files
COPY . .
# Specify the command to run your application
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]