测试一下集成脚本

This commit is contained in:
aixianling
2024-10-16 16:36:50 +08:00
parent 56021924ef
commit 91ca77ffa8

View File

@@ -1,14 +1,10 @@
FROM node:16
LABEL authors="kubbo"
WORKDIR /home/node-service
RUN chown -R node: /home/node-service
USER node
COPY --chown=node package*.json /home/node-service
COPY . /app
WORKDIR /app
RUN npm i --registry=http://registry.npmmirror.com
COPY --chown=node . /home/node-service
EXPOSE 12525
CMD ["node", "index.js"]