magicudapps commited on
Commit
9d5afc1
1 Parent(s): c4a89ee

chore: update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,5 +1,7 @@
1
  FROM python:3.11.9
2
 
 
 
3
  RUN useradd -m -u 1000 user
4
  USER user
5
  ENV HOME=/home/user \
@@ -10,7 +12,6 @@ ENV PIPENV_VENV_IN_PROJECT=1
10
 
11
  WORKDIR $HOME/app
12
 
13
- RUN sudo apt update && sudo apt install -y default-jdk
14
  RUN --mount=type=secret,id=GITLAB_CREDENTIALS,mode=0444,required=true \
15
  git clone "https://$(cat /run/secrets/GITLAB_CREDENTIALS)@gitlab.com/bookingcare/search.git" -b dev .
16
  RUN python -m pip install --upgrade pip
 
1
  FROM python:3.11.9
2
 
3
+ RUN apt update && apt install -y default-jdk
4
+
5
  RUN useradd -m -u 1000 user
6
  USER user
7
  ENV HOME=/home/user \
 
12
 
13
  WORKDIR $HOME/app
14
 
 
15
  RUN --mount=type=secret,id=GITLAB_CREDENTIALS,mode=0444,required=true \
16
  git clone "https://$(cat /run/secrets/GITLAB_CREDENTIALS)@gitlab.com/bookingcare/search.git" -b dev .
17
  RUN python -m pip install --upgrade pip