mirror of
https://gricad-gitlab.univ-grenoble-alpes.fr/tienyoun/presentations.git
synced 2026-09-26 21:41:08 +00:00
9 lines
212 B
Docker
9 lines
212 B
Docker
FROM node:lts-alpine AS build-stage
|
|
WORKDIR /app
|
|
COPY package*.json .
|
|
RUN npm ci
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
FROM nginx:stable-alpine AS production-stage
|
|
COPY --from=build-stage /app/_static /usr/share/nginx/html |