steedos-platform/steedos-projects/project-template/Dockerfile
2021-12-28 11:22:43 +08:00

22 lines
470 B
Docker

FROM node:12.22.7
WORKDIR /app
ADD .steedos ./.steedos/
ADD services ./services/
ADD steedos-app ./steedos-app/
# ADD steedos-packages ./steedos-packages/
ADD package.json .
ADD moleculer.config.js .
ADD init_home.sh .
ADD steedos-config.yml ./steedos-config.yml
ADD yarn.lock ./yarn.lock
RUN npm config set registry http://registry.npm.taobao.org/
RUN yarn config set registry http://registry.npm.taobao.org/
RUN yarn
ENV NODE_ENV=production
CMD ["yarn", "start"]