fix: Website-creator Dockerfile uses npm install instead of ci
- Changed npm ci to npm install (more flexible for production) - Port remains 80 (correct) - Applies to both source and global install
This commit is contained in:
@@ -359,14 +359,14 @@ dist
|
||||
dockerfile = """FROM node:20-alpine AS builder
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm ci --production
|
||||
RUN npm install --production
|
||||
COPY --from=builder /app/dist ./dist
|
||||
COPY --from=builder /app/db ./db
|
||||
|
||||
|
||||
Reference in New Issue
Block a user