rodrigomasini commited on
Commit
ad2e70e
·
verified ·
1 Parent(s): f37d758

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /app
4
+
5
+ COPY requirements.txt .
6
+
7
+ RUN pip install --no-cache-dir -r requirements.txt
8
+
9
+ COPY . .
10
+
11
+ # We need to make port 8080 available since HuggingFace Spaces uses this port to expose the app
12
+ EXPOSE 8080
13
+
14
+ ENV NICEGUI_NATIVE=false
15
+
16
+ CMD ["python", "main.py"]```