site hardening

This commit is contained in:
Corey Blais
2026-03-27 10:04:54 -04:00
parent 900bf4eb06
commit 4bc809ff8b
6 changed files with 84 additions and 19 deletions
+4 -2
View File
@@ -4,10 +4,12 @@ WORKDIR /app
COPY package*.json ./
RUN npm install --legacy-peer-deps
RUN npm ci --legacy-peer-deps
COPY . .
RUN npm run build && npm prune --omit=dev
EXPOSE 5000
CMD ["npm", "run", "dev"]
CMD ["npm", "run", "start"]