amtsal commited on
Commit
4931c47
·
1 Parent(s): f057939

Fix: Fix Exec Commands

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -10,7 +10,7 @@ RUN apt-get update && \
10
  COPY requirements.txt .
11
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
12
 
13
- RUN useradd -m -u 1001 appuser
14
 
15
  ENV HOME=/home/appuser \
16
  PATH=/home/appuser/.local/bin:$PATH
@@ -40,7 +40,7 @@ RUN chmod +x ./scripts/runner.sh
40
 
41
  RUN chown -R appuser:appuser ${HOME}
42
 
43
- # USER appuser
44
 
45
  EXPOSE 8008
46
  CMD ["/talent_management/scripts/runner.sh"]
 
10
  COPY requirements.txt .
11
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
12
 
13
+ RUN useradd -m -u 1000 appuser
14
 
15
  ENV HOME=/home/appuser \
16
  PATH=/home/appuser/.local/bin:$PATH
 
40
 
41
  RUN chown -R appuser:appuser ${HOME}
42
 
43
+ USER appuser
44
 
45
  EXPOSE 8008
46
  CMD ["/talent_management/scripts/runner.sh"]