mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-10 21:12:02 +08:00
219dbee467
* fix: create-nocobase-app client package version * chore: create-nocobase-app package name * feat: nocobase-prod script * chore: npm registry Co-authored-by: chenos <chenlinxh@gmail.com>
22 lines
413 B
Docker
22 lines
413 B
Docker
FROM node:12.20.0-stretch
|
|
|
|
WORKDIR /app
|
|
# COPY . /app
|
|
RUN ls -a
|
|
|
|
RUN npm config set registry https://registry.npmmirror.com
|
|
RUN yarn config set registry https://registry.npmmirror.com
|
|
|
|
# RUN npm install
|
|
# RUN npm run bootstrap
|
|
# RUN npm run build
|
|
|
|
# # Install app dependencies
|
|
# ENV NPM_CONFIG_LOGLEVEL warn
|
|
# RUN yarn install
|
|
|
|
# # Show current folder structure in logs
|
|
RUN ls -a
|
|
|
|
# CMD [ "npm", "run", "serve" ]
|