1
0
mirror of https://github.com/robonen/canvas-3d.git synced 2026-03-20 02:44:40 +00:00

fix(repo): add missing npm run build

This commit is contained in:
2022-11-11 16:04:54 +07:00
parent d8e0c610ce
commit f2688d8d96
2 changed files with 9 additions and 7 deletions

View File

@@ -5,10 +5,9 @@ FROM node:${NODE_VERSION} AS builder
WORKDIR /build
# See .dockerignore
COPY . .
RUN npm ci && npm cache clean --force && ls -a
RUN npm ci && npm run build && npm cache clean --force
# Stage 2: Run the application
FROM node:${NODE_VERSION}
@@ -17,6 +16,9 @@ WORKDIR /app
COPY --from=builder /build/src/.output .
ENV HOST=0.0.0.0
ENV PORT=3000
VOLUME /app
EXPOSE 3000