tachybase_todo/Dockerfile

22 lines
415 B
Docker
Raw Normal View History

2020-12-14 17:06:05 +08:00
FROM node:12.20.0-stretch
WORKDIR /app
2021-04-17 22:21:06 +08:00
# COPY . /app
2020-12-14 17:06:05 +08:00
RUN ls -a
RUN npm config set registry https://registry.npm.taobao.org
2021-04-17 22:21:06 +08:00
RUN yarn config set registry https://registry.npm.taobao.org
# RUN npm install
# RUN npm run bootstrap
# RUN npm run build
2020-12-14 17:06:05 +08:00
# # Install app dependencies
# ENV NPM_CONFIG_LOGLEVEL warn
# RUN yarn install
# # Show current folder structure in logs
RUN ls -a
# CMD [ "npm", "run", "serve" ]