mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 15:49:31 -07:00
17 lines
301 B
Docker
17 lines
301 B
Docker
FROM node:24-alpine AS node-builder
|
|
WORKDIR /app
|
|
|
|
# RUN npm install gulp
|
|
|
|
COPY package.json .
|
|
COPY package-lock.json .
|
|
|
|
COPY . .
|
|
|
|
RUN npm install
|
|
RUN npm run build
|
|
|
|
FROM nginx:alpine
|
|
# COPY --from=node-builder /app/server /usr/share/nginx/html
|
|
COPY --from=node-builder /app/dist /usr/share/nginx/html
|