Test deploy #31

Merged
John4064 merged 50 commits from test-deploy into main 2026-03-04 05:20:21 +00:00
2 changed files with 6 additions and 8 deletions
Showing only changes of commit 39e736ddad - Show all commits

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"]