Sanket17 commited on
Commit
8155a56
·
verified ·
1 Parent(s): 94a71bc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -13,8 +13,6 @@ ENV PYTHONUNBUFFERED=1
13
  COPY requirements.txt .
14
  RUN python -m pip install -r requirements.txt
15
 
16
- RUN apt-get update && apt-get install -y libgl1-mesa-glx
17
-
18
  WORKDIR /app
19
  COPY . /app
20
 
@@ -23,5 +21,8 @@ COPY . /app
23
  RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /app
24
  USER appuser
25
 
 
 
 
26
  # During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
27
  CMD ["gunicorn", "--bind", "0.0.0.0:5002", "weights.convert_safetensor_to_pt:app"]
 
13
  COPY requirements.txt .
14
  RUN python -m pip install -r requirements.txt
15
 
 
 
16
  WORKDIR /app
17
  COPY . /app
18
 
 
21
  RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /app
22
  USER appuser
23
 
24
+ RUN apt-get update && apt-get install -y libgl1-mesa-glx
25
+
26
+
27
  # During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
28
  CMD ["gunicorn", "--bind", "0.0.0.0:5002", "weights.convert_safetensor_to_pt:app"]