Spaces:
Configuration error

yonkasoft commited on
Commit
f16fb09
1 Parent(s): 3fbfa5d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -3,6 +3,8 @@
3
 
4
  FROM python:3.9
5
 
 
 
6
  # The two following lines are requirements for the Dev Mode to be functional
7
  # Learn more about the Dev Mode at https://huggingface.co/dev-mode-explorers
8
  RUN useradd -m -u 1000 user
@@ -12,4 +14,4 @@ COPY --chown=user ./requirements.txt requirements.txt
12
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
13
 
14
  COPY --chown=user . /app
15
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
3
 
4
  FROM python:3.9
5
 
6
+ # Ortam değişkenlerini ayarlama
7
+ ENV YOUR_SECRET_KEY_NAME=your_secret_key_value
8
  # The two following lines are requirements for the Dev Mode to be functional
9
  # Learn more about the Dev Mode at https://huggingface.co/dev-mode-explorers
10
  RUN useradd -m -u 1000 user
 
14
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
15
 
16
  COPY --chown=user . /app
17
+ CMD ["uvicorn", "main:app","app.py", "--host", "0.0.0.0", "--port", "7860"]