Spaces:
Paused
Paused
Commit ·
df27471
1
Parent(s): 63f4749
chore: update Dockerfile to disable database inclusion by default
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# syntax=docker/dockerfile:1
|
| 2 |
-
ARG INCLUDE_DB=
|
| 3 |
|
| 4 |
FROM node:20-slim AS base
|
| 5 |
ENV PLAYWRIGHT_SKIP_BROWSER_GC=1
|
|
@@ -90,7 +90,7 @@ USER user
|
|
| 90 |
FROM local_db_${INCLUDE_DB} AS final
|
| 91 |
|
| 92 |
# build arg to determine if the database should be included
|
| 93 |
-
ARG INCLUDE_DB=
|
| 94 |
ENV INCLUDE_DB=${INCLUDE_DB}
|
| 95 |
|
| 96 |
# svelte requires APP_BASE at build time so it must be passed as a build arg
|
|
|
|
| 1 |
# syntax=docker/dockerfile:1
|
| 2 |
+
ARG INCLUDE_DB=false
|
| 3 |
|
| 4 |
FROM node:20-slim AS base
|
| 5 |
ENV PLAYWRIGHT_SKIP_BROWSER_GC=1
|
|
|
|
| 90 |
FROM local_db_${INCLUDE_DB} AS final
|
| 91 |
|
| 92 |
# build arg to determine if the database should be included
|
| 93 |
+
ARG INCLUDE_DB=false
|
| 94 |
ENV INCLUDE_DB=${INCLUDE_DB}
|
| 95 |
|
| 96 |
# svelte requires APP_BASE at build time so it must be passed as a build arg
|