promptsearchengine / Dockerfile.frontend
Jokica17's picture
Added Docker configuration for backend and frontend services:
76d3d9e
raw
history blame
340 Bytes
FROM python:3.11-slim
# Set the working directory
WORKDIR /usr/src/frontend
# Copy the necessary files to the working directory
COPY fe/requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY fe/ ./fe/
COPY config.py .
# Expose the frontend port and run the frontend
EXPOSE 7860
CMD ["python", "-m", "fe.gradio_app"]