AstraOS commited on
Commit
ed7ee62
·
verified ·
1 Parent(s): 8621d18

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -1
Dockerfile CHANGED
@@ -9,8 +9,15 @@ ENV PATH="/home/user/.local/bin:$PATH"
9
 
10
  WORKDIR /app
11
 
 
 
12
  COPY --chown=user ./requirements.txt requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
 
 
 
14
 
15
  COPY --chown=user . /app
16
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
9
 
10
  WORKDIR /app
11
 
12
+ COPY app.py /app/
13
+
14
  COPY --chown=user ./requirements.txt requirements.txt
15
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
16
+ RUN pip install --no-cache-dir Flask
17
+
18
+ EXPOSE 5000
19
+
20
 
21
  COPY --chown=user . /app
22
+ # CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
23
+ CMD ["python", "app.py"]