srbh08 commited on
Commit
8c94b5d
·
1 Parent(s): 774701a

Fix Dockerfile for HF Space root layout

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -5
Dockerfile CHANGED
@@ -5,12 +5,11 @@ WORKDIR /app
5
  ENV PYTHONDONTWRITEBYTECODE=1
6
  ENV PYTHONUNBUFFERED=1
7
 
8
- COPY backend/requirements.txt /app/requirements.txt
9
  RUN pip install --no-cache-dir -r /app/requirements.txt
10
 
11
- COPY backend /app/backend
12
- COPY data_sources /app/data_sources
13
 
14
- EXPOSE 8000
15
 
16
- CMD ["uvicorn", "api.app:app", "--host", "0.0.0.0", "--port", "8000"]
 
5
  ENV PYTHONDONTWRITEBYTECODE=1
6
  ENV PYTHONUNBUFFERED=1
7
 
8
+ COPY requirements.txt /app/requirements.txt
9
  RUN pip install --no-cache-dir -r /app/requirements.txt
10
 
11
+ COPY . /app
 
12
 
13
+ EXPOSE 7860
14
 
15
+ CMD ["uvicorn", "api.app:app", "--host", "0.0.0.0", "--port", "7860"]