This commit is contained in:
vladp
2025-12-04 14:10:36 +07:00
parent 43ed7feb84
commit 2a97957330
2 changed files with 0 additions and 5 deletions
-3
View File
@@ -6,9 +6,6 @@ RUN npm install
FROM node:22.20.0 AS builder FROM node:22.20.0 AS builder
WORKDIR /no-copy-frontend WORKDIR /no-copy-frontend
ARG SESSION_SECRET
ENV SESSION_SECRET=${SESSION_SECRET}
COPY . . COPY . .
COPY --from=dependencies /no-copy-frontend/node_modules ./node_modules COPY --from=dependencies /no-copy-frontend/node_modules ./node_modules
RUN npm run build RUN npm run build
-2
View File
@@ -6,8 +6,6 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
args:
- SESSION_SECRET=${SESSION_SECRET}
ports: ports:
- "2998:2999" - "2998:2999"
environment: environment: