HedronCreeper commited on
Commit
52a3c14
·
verified ·
1 Parent(s): b374e53

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -4
Dockerfile CHANGED
@@ -1,11 +1,19 @@
1
  FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
-
5
- COPY requirements.txt /app/
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
- COPY app.py /app
9
 
10
  EXPOSE 7860
11
- CMD ["python", "app.py"]
 
 
 
 
 
 
 
 
 
 
1
  FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
+ COPY requirements.txt .
 
5
  RUN pip install --no-cache-dir -r requirements.txt
6
 
7
+ COPY app.py .
8
 
9
  EXPOSE 7860
10
+ CMD ["python", "app.py"]
11
+ ```
12
+
13
+ ---
14
+
15
+ **Step 3 — Push / commit** the files (you can do it directly in the HF web editor — no git needed).
16
+
17
+ The Space will build automatically. Once the status dot goes **green**, visit:
18
+ ```
19
+ https://hedronCreeper-hello-docker.hf.space