Files
boussole-pluss/frontend/Dockerfile
Nicolas Doby b6e86f0641 feat: review backend and frontend
- update to the latest version of Java/SpringBoot
- update to the latest version NuxtJS
- add account/password update
- add account creation
- add account password reset
- add bundle to regroup questions and add default questions on user creation
- add bundle creation
2024-09-12 11:13:54 +02:00

25 lines
440 B
Docker

FROM node:20 as builder
ARG BACKEND_BASE_URL
RUN npm install -g npm
USER node
COPY --chown=1000:1000 ./package.json /application/package.json
WORKDIR /application
RUN yarn install
COPY --chown=1000:1000 . /application
RUN yarn generate
FROM nginx
COPY --from=builder --chown=1000:1000 /application/.output/public/ /usr/share/nginx/html
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]