khawir commited on
Commit
c88d1aa
1 Parent(s): 3354363

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -7,6 +7,7 @@ COPY ./requirements.txt /code/requirements.txt
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
  RUN useradd -m -u 1000 user
 
10
  USER user
11
 
12
  ENV HOME=/home/user \
@@ -21,6 +22,7 @@ ARG DEVICE
21
 
22
  RUN --mount=type=secret,id=SECRET_KEY,mode=0444,required=true
23
  RUN --mount=type=secret,id=ALGORITHM,mode=0444,required=true
 
24
  RUN --mount=type=secret,id=SUPERUSER_USERNAME,mode=0444,required=true
25
  RUN --mount=type=secret,id=SUPERUSER_PASSWORD,mode=0444,required=true
26
 
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
  RUN useradd -m -u 1000 user
10
+
11
  USER user
12
 
13
  ENV HOME=/home/user \
 
22
 
23
  RUN --mount=type=secret,id=SECRET_KEY,mode=0444,required=true
24
  RUN --mount=type=secret,id=ALGORITHM,mode=0444,required=true
25
+
26
  RUN --mount=type=secret,id=SUPERUSER_USERNAME,mode=0444,required=true
27
  RUN --mount=type=secret,id=SUPERUSER_PASSWORD,mode=0444,required=true
28