Fix Docker FIles

This commit is contained in:
Matt DiMeglio 2026-01-19 17:01:41 -05:00
parent 3c401b4ce0
commit 39e736ddad
2 changed files with 6 additions and 8 deletions

View file

@ -1,4 +1,4 @@
FROM node:20-alpine
FROM --platform=linux/arm64 node:20-alpine
WORKDIR /app
@ -8,7 +8,6 @@ RUN npm ci --no-audit --no-fund
COPY . ./
EXPOSE 5172
EXPOSE 5170
EXPOSE 5172 5170
CMD ["npm", "run", "dev"]
CMD ["npm", "run", "dev"]

View file

@ -1,4 +1,4 @@
FROM node:20-alpine
FROM --platform=linux/arm64 node:20-alpine
WORKDIR /app
@ -8,10 +8,9 @@ RUN npm ci --no-audit --no-fund
COPY . ./
EXPOSE 5173
EXPOSE 5171
EXPOSE 5173 5171
ARG ENVIRONMENT
ENV ENVIRONMENT=${ENVIRONMENT}
CMD ["npm", "run", "${ENVIRONMENT}"]
CMD ["sh", "-c", "npm run $ENVIRONMENT"]