api_doc_reader / Dockerfile
zahraa12355's picture
Update Dockerfile
36a92f1 verified
Raw
History Blame Contribute Delete
311 Bytes
FROM python:3.10
# Create app directory
WORKDIR /code
# Copy all files first
COPY . .
# Install dependencies
RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
# Make app.sh executable
RUN chmod +x app.sh
# Expose port 7860
EXPOSE 7860
# Start the server
CMD ["bash", "app.sh"]