chore: github action build image

pull/101/head
xiaojunnuo 2024-07-23 23:16:55 +08:00
parent b6ef39fb30
commit 06be993afc
1 changed files with 3 additions and 3 deletions

View File

@ -13,9 +13,9 @@ RUN cp /workspace/certd-client/dist/* /workspace/certd-server/public/ -rf
FROM node:18-alpine
WORKDIR /app/
COPY --from=builder /workspace/certd-server/ /app/
ENV TZ Asia/Shanghai
ENV NODE_ENV production
ENV MIDWAY_SERVER_ENV production
ENV TZ=Asia/Shanghai
ENV NODE_ENV=production
ENV MIDWAY_SERVER_ENV=production
CMD ["npm", "run","start"]