Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +8 -16
Dockerfile
CHANGED
|
@@ -14,24 +14,16 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
| 14 |
# Set ENV Vars
|
| 15 |
RUN --mount=type=secret,id=SUPABASE_URL,mode=0444 \
|
| 16 |
export SUPABASE_URL=$(cat /run/secrets/SUPABASE_URL)
|
| 17 |
-
RUN --mount=type=secret,id=SUPABASE_PUBLIC_KEY,mode=0444 \
|
| 18 |
-
export SUPABASE_PUBLIC_KEY=$(cat /run/secrets/SUPABASE_PUBLIC_KEY)
|
| 19 |
RUN --mount=type=secret,id=SUPABASE_SERVICE_KEY,mode=0444 \
|
| 20 |
export SUPABASE_SERVICE_KEY=$(cat /run/secrets/SUPABASE_SERVICE_KEY)
|
| 21 |
-
RUN --mount=type=secret,id=
|
| 22 |
-
export
|
| 23 |
-
RUN --mount=type=secret,id=
|
| 24 |
-
export
|
| 25 |
-
RUN --mount=type=secret,id=
|
| 26 |
-
export
|
| 27 |
-
RUN --mount=type=secret,id=
|
| 28 |
-
export
|
| 29 |
-
RUN --mount=type=secret,id=FF_URL,mode=0444 \
|
| 30 |
-
export FF_URL=$(cat /run/secrets/FF_URL)
|
| 31 |
-
RUN --mount=type=secret,id=FF_KEY,mode=0444 \
|
| 32 |
-
export FF_KEY=$(cat /run/secrets/FF_KEY)
|
| 33 |
-
RUN --mount=type=secret,id=SENTRY_URL,mode=0444 \
|
| 34 |
-
export SENTRY_URL=$(cat /run/secrets/SENTRY_URL)
|
| 35 |
RUN --mount=type=secret,id=ENVIRONMENT,mode=0444 \
|
| 36 |
export ENVIRONMENT=$(cat /run/secrets/ENVIRONMENT)
|
| 37 |
|
|
|
|
| 14 |
# Set ENV Vars
|
| 15 |
RUN --mount=type=secret,id=SUPABASE_URL,mode=0444 \
|
| 16 |
export SUPABASE_URL=$(cat /run/secrets/SUPABASE_URL)
|
|
|
|
|
|
|
| 17 |
RUN --mount=type=secret,id=SUPABASE_SERVICE_KEY,mode=0444 \
|
| 18 |
export SUPABASE_SERVICE_KEY=$(cat /run/secrets/SUPABASE_SERVICE_KEY)
|
| 19 |
+
RUN --mount=type=secret,id=DB_HOST,mode=0444 \
|
| 20 |
+
export DB_HOST=$(cat /run/secrets/DB_HOST)
|
| 21 |
+
RUN --mount=type=secret,id=DB_USER,mode=0444 \
|
| 22 |
+
export DB_USER=$(cat /run/secrets/DB_USER)
|
| 23 |
+
RUN --mount=type=secret,id=DB_PASS,mode=0444 \
|
| 24 |
+
export DB_PASS=$(cat /run/secrets/DB_PASS)
|
| 25 |
+
RUN --mount=type=secret,id=DB_NAME,mode=0444 \
|
| 26 |
+
export DB_NAME=$(cat /run/secrets/DB_NAME)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
RUN --mount=type=secret,id=ENVIRONMENT,mode=0444 \
|
| 28 |
export ENVIRONMENT=$(cat /run/secrets/ENVIRONMENT)
|
| 29 |
|