Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -9,10 +9,10 @@ WORKDIR /app
|
|
9 |
RUN pip install --no-cache-dir -r requirements.txt
|
10 |
|
11 |
RUN --mount=type=secret,id=RETOOL_JSON,mode=0444,required=true \
|
12 |
-
cat /
|
13 |
|
14 |
RUN --mount=type=secret,id=API_KEY,mode=0444,required=true \
|
15 |
-
cat /
|
16 |
|
17 |
EXPOSE 8000
|
18 |
|
|
|
9 |
RUN pip install --no-cache-dir -r requirements.txt
|
10 |
|
11 |
RUN --mount=type=secret,id=RETOOL_JSON,mode=0444,required=true \
|
12 |
+
cat /run/secrets/RETOOL_JSON > retool.json && chmod 777 retool.json
|
13 |
|
14 |
RUN --mount=type=secret,id=API_KEY,mode=0444,required=true \
|
15 |
+
cat /run/secrets/API_KEY > client_api_keys.json && chmod 777 client_api_keys.json
|
16 |
|
17 |
EXPOSE 8000
|
18 |
|