Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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 |
|