krau commited on
Commit
8320c93
·
unverified ·
1 Parent(s): c847ad6

update dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -13,6 +13,9 @@ COPY --chown=user . $HOME/sr_api
13
 
14
  USER root
15
 
 
 
 
16
  RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 redis && \
17
  apt-get clean && rm -rf /var/lib/apt/lists/*
18
 
@@ -21,7 +24,4 @@ USER user
21
  RUN pip install --no-cache-dir --upgrade pip && \
22
  pip install --no-cache-dir -r requirements.txt
23
 
24
- COPY start.sh /start.sh
25
- RUN chmod +x /start.sh
26
-
27
  ENTRYPOINT ["/start.sh"]
 
13
 
14
  USER root
15
 
16
+ COPY start.sh /start.sh
17
+ RUN chown user:user /start.sh && chmod +x /start.sh
18
+
19
  RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 redis && \
20
  apt-get clean && rm -rf /var/lib/apt/lists/*
21
 
 
24
  RUN pip install --no-cache-dir --upgrade pip && \
25
  pip install --no-cache-dir -r requirements.txt
26
 
 
 
 
27
  ENTRYPOINT ["/start.sh"]