mirror of
https://github.com/steedos/steedos-platform
synced 2024-11-23 01:16:43 +00:00
22 lines
470 B
Docker
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"] |