mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-04 05:08:42 +08:00
20 lines
345 B
Docker
20 lines
345 B
Docker
|
FROM node:12.20.0-stretch
|
||
|
|
||
|
WORKDIR /app
|
||
|
COPY . /app
|
||
|
RUN ls -a
|
||
|
|
||
|
RUN npm config set registry https://registry.npm.taobao.org
|
||
|
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" ]
|