Files
buildpath/frontend/Dockerfile
vhaudiquet 48d5687661
All checks were successful
pipeline / build-and-push-images (push) Successful in 42s
pipeline / deploy (push) Successful in 7s
Huge changes: Sidebar, new UI
2024-11-27 12:42:19 +01:00

13 lines
238 B
Docker

FROM node:current-alpine AS base
WORKDIR /app
FROM base AS build
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM base
COPY --from=build /app/.output /app/.output
EXPOSE 3000
CMD ["node", ".output/server/index.mjs"]