rename Dockerfile to Containerfile and integrate kontor-vue in pod kontor

This commit is contained in:
2026-04-04 20:52:46 +02:00
parent dd1503963e
commit 92ddf5e95f
3 changed files with 21 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM node:22.18.0-bookworm-slim AS build
WORKDIR /app
ENV PATH=/app/node_modules/.bin:$PATH
COPY package.json /app/package.json
RUN npm install
RUN npm install -g @vue/cli
COPY . /app
RUN npm run build
FROM nginx:1.29.0-alpine
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]