add project files

This commit is contained in:
Julien Aldon
2026-01-12 11:17:01 +01:00
parent 38293b1352
commit 4d5b4698c6
35 changed files with 23425 additions and 0 deletions

17
front/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM node:19.1-alpine AS build
WORKDIR /app
COPY front/package.json front/package-lock.json /app/
RUN npm install
COPY front/ .
RUN npm run build
FROM nginx:latest
COPY --from=build /app/dist /srv/www/bookshelf
RUN rm /etc/nginx/conf.d/default.conf
COPY --from=build /app/nginx/default.conf /etc/nginx/conf.d/default.conf