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 5 additions and 7 deletions
Showing only changes of commit 3c401b4ce0 - Show all commits

View file

@ -4,12 +4,11 @@ WORKDIR /app
COPY ./package*.json ./
RUN npm cache clean --force \
&& npm ci --no-audit --no-fund
RUN npm ci --no-audit --no-fund
COPY . ./
EXPOSE 5172
EXPOSE 5170
CMD npm run dev
CMD ["npm", "run", "dev"]

View file

@ -4,8 +4,7 @@ WORKDIR /app
COPY ./package*.json ./
RUN npm cache clean --force \
&& npm ci --no-audit --no-fund
RUN npm ci --no-audit --no-fund
COPY . ./
@ -13,6 +12,6 @@ EXPOSE 5173
EXPOSE 5171
ARG ENVIRONMENT
ENV ENVIRONMENT ${ENVIRONMENT}
ENV ENVIRONMENT=${ENVIRONMENT}
CMD npm run ${ENVIRONMENT}
CMD ["npm", "run", "${ENVIRONMENT}"]