File size: 340 Bytes
76d3d9e
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"]