Update Dockerfile

This commit is contained in:
pzthu8lr3 2024-05-27 15:07:31 +08:00
parent f0ae1156c6
commit a28a256aac
1 changed files with 10 additions and 10 deletions

View File

@ -1,10 +1,10 @@
FROM node:18-alpine
LABEL maintainer="yuankaifneg <2894340009@qq.com>"
WORKDIR /gitlink_help_center
COPY ./gitlink_help_center/ /gitlink_help_center/
RUN yarn install
RUN npm run build -- --locale zh-cn
CMD ["npm", "run", "serve"]
FROM node:18-alpine
LABEL maintainer="yuankaifneg <2894340009@qq.com>"
WORKDIR /gitlink_help_center
COPY ./ /gitlink_help_center/
RUN yarn install
RUN npm run build -- --locale zh-cn
CMD ["npm", "run", "serve"]