Spaces:
Running
on
A10G
Running
on
A10G
aaa
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -23,7 +23,7 @@ RUN --mount=type=secret,id=MODEL_NAME,mode=0444 \
|
|
| 23 |
--mount=type=secret,id=MONGODB_URL,mode=0444 \
|
| 24 |
--mount=type=secret,id=APP_COLOR,mode=0444 \
|
| 25 |
--mount=type=secret,id=APP_NAME,mode=0444 \
|
| 26 |
-
inject.sh \
|
| 27 |
&& envsubst < ".template.env.local" > ".env.local"
|
| 28 |
|
| 29 |
|
|
@@ -51,7 +51,7 @@ RUN --mount=type=secret,id=MODEL_NAME,mode=0444 \
|
|
| 51 |
--mount=type=secret,id=MONGODB_URL,mode=0444 \
|
| 52 |
--mount=type=secret,id=APP_COLOR,mode=0444 \
|
| 53 |
--mount=type=secret,id=APP_NAME,mode=0444 \
|
| 54 |
-
inject.sh \
|
| 55 |
&& envsubst < "entrypoint.sh.template" > "entrypoint.sh"
|
| 56 |
|
| 57 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
|
|
| 23 |
--mount=type=secret,id=MONGODB_URL,mode=0444 \
|
| 24 |
--mount=type=secret,id=APP_COLOR,mode=0444 \
|
| 25 |
--mount=type=secret,id=APP_NAME,mode=0444 \
|
| 26 |
+
./inject.sh \
|
| 27 |
&& envsubst < ".template.env.local" > ".env.local"
|
| 28 |
|
| 29 |
|
|
|
|
| 51 |
--mount=type=secret,id=MONGODB_URL,mode=0444 \
|
| 52 |
--mount=type=secret,id=APP_COLOR,mode=0444 \
|
| 53 |
--mount=type=secret,id=APP_NAME,mode=0444 \
|
| 54 |
+
./inject.sh \
|
| 55 |
&& envsubst < "entrypoint.sh.template" > "entrypoint.sh"
|
| 56 |
|
| 57 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|