chore: dockerfiles van naam veranderd

This commit is contained in:
Timo De Meyst 2025-03-07 16:45:42 +01:00
parent 9aff94ba62
commit 71f6b1b3cb
3 changed files with 2 additions and 0 deletions

13
frontend/Dockerfile Normal file
View file

@ -0,0 +1,13 @@
# build stage
FROM node:22 as build-stage
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# production stage
FROM nginx:stable as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]