yukee1992 commited on
Commit
eb9f2ca
·
verified ·
1 Parent(s): d428807

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -13
Dockerfile CHANGED
@@ -1,16 +1,7 @@
1
  FROM python:3.9-slim
2
 
3
- # Set working directory
4
  WORKDIR /app
5
 
6
- # Set environment variables
7
- ENV PYTHONDONTWRITEBYTECODE=1
8
- ENV PYTHONUNBUFFERED=1
9
- ENV HF_HOME=/tmp/huggingface
10
- ENV TORCH_HOME=/tmp/torch
11
- ENV COQUI_TOS_AGREED=1
12
- ENV OCI_UPLOAD_API_URL=https://yukee1992-oci-video-storage.hf.space
13
-
14
  # Install system dependencies
15
  RUN apt-get update && apt-get install -y \
16
  curl \
@@ -39,7 +30,4 @@ USER user
39
  EXPOSE 8000
40
 
41
  # Start the application
42
- CMD ["python", "app.py"]
43
-
44
-
45
-
 
1
  FROM python:3.9-slim
2
 
 
3
  WORKDIR /app
4
 
 
 
 
 
 
 
 
 
5
  # Install system dependencies
6
  RUN apt-get update && apt-get install -y \
7
  curl \
 
30
  EXPOSE 8000
31
 
32
  # Start the application
33
+ CMD ["python", "app.py"]