initial commit

This commit is contained in:
2026-06-11 13:47:00 -04:00
commit 3a74a4cda9
62 changed files with 4043 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# check=skip=SecretsUsedInArgOrEnv
# ===== Build Vue =====
FROM node:22 AS frontend-builder
WORKDIR /frontend
COPY wwwroot/ibms_ems/package*.json ./
RUN npm install
COPY wwwroot/ibms_ems ./
RUN npm run build
# ===== Backend =====
FROM node:22-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --production
COPY . .
# copy Vue build
COPY --from=frontend-builder /frontend/dist ./wwwroot/ibms_ems/dist
ENV NODE_ENV=production \
PORT=8080 \
APS_CLIENT_ID= \
APS_CLIENT_SECRET=
EXPOSE 8080
CMD ["npm", "run", "start"]