Rafs-an09002 commited on
Commit
38180fc
·
verified ·
1 Parent(s): 8eb6a05

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -1,4 +1,3 @@
1
- # Nexus-Nano Inference - Path Fixed
2
  FROM python:3.10-slim
3
 
4
  WORKDIR /app
@@ -9,13 +8,11 @@ COPY requirements.txt .
9
  RUN pip install --no-cache-dir -r requirements.txt
10
 
11
  COPY app.py .
 
12
 
13
  EXPOSE 7860
14
 
15
  ENV PYTHONUNBUFFERED=1
16
  ENV OMP_NUM_THREADS=2
17
 
18
- HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
19
- CMD curl -f http://localhost:7860/health || exit 1
20
-
21
  CMD ["python", "app.py"]
 
 
1
  FROM python:3.10-slim
2
 
3
  WORKDIR /app
 
8
  RUN pip install --no-cache-dir -r requirements.txt
9
 
10
  COPY app.py .
11
+ COPY engine/ ./engine/
12
 
13
  EXPOSE 7860
14
 
15
  ENV PYTHONUNBUFFERED=1
16
  ENV OMP_NUM_THREADS=2
17
 
 
 
 
18
  CMD ["python", "app.py"]