Natthathida commited on
Commit
3fc7c17
·
verified ·
1 Parent(s): c5d7df7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -12,6 +12,7 @@ RUN ls -al
12
  FROM python:3.10-slim AS backend
13
  WORKDIR /app
14
 
 
15
  # RUN apt-get update && apt-get install --no-install-recommends -y \
16
  # git ffmpeg curl gnupg \
17
  # && apt-get clean && rm -rf /var/lib/apt/lists/*
@@ -24,10 +25,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
24
  curl \
25
  gnupg
26
 
27
- RUN adduser -D -u 1000 user
28
-
29
  COPY ./requirements.txt .
30
- RUN pip install torch transformers -U
31
  RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
32
 
33
  USER user
 
12
  FROM python:3.10-slim AS backend
13
  WORKDIR /app
14
 
15
+ RUN useradd -D -u 1000 user
16
  # RUN apt-get update && apt-get install --no-install-recommends -y \
17
  # git ffmpeg curl gnupg \
18
  # && apt-get clean && rm -rf /var/lib/apt/lists/*
 
25
  curl \
26
  gnupg
27
 
 
 
28
  COPY ./requirements.txt .
29
+ # RUN pip install torch transformers -U
30
  RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
31
 
32
  USER user