3 files changed
+10
-19
No files matched your search
+6
-6
@@ -38,12 +38,12 @@ COPY . .
|
||||
# satisfy that check; the real values are supplied at container runtime
|
||||
# via env_file (see docker-compose.local.yaml) and these are never used to
|
||||
# connect to anything or baked into a layer that matters.
|
||||
RUN DATABASE_HOST="localhost" \
|
||||
DATABASE_PORT="3306" \
|
||||
DATABASE_NAME="build" \
|
||||
DATABASE_USER="build" \
|
||||
DATABASE_PASSWORD="build" \
|
||||
npm run build
|
||||
ENV DATABASE_HOST="localhost"
|
||||
ENV DATABASE_PORT="3306"
|
||||
ENV DATABASE_NAME="build"
|
||||
ENV DATABASE_USER="build"
|
||||
ENV DATABASE_PASSWORD="build"
|
||||
RUN npm run build
|
||||
|
||||
FROM node:22-alpine AS runner
|
||||
WORKDIR /app
|
||||
|
||||
Reference in new issue
Block a user