mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 07:48:22 +08:00
4f77a18b2a
* chore: globalconfig edit * chore: mv stylelint-config-prettier to devdep * feat: add vscode config * fix: lint fix * feat: update base url
16 lines
258 B
Docker
16 lines
258 B
Docker
# 选择一个 Base 镜像
|
|
FROM node:14
|
|
|
|
# 设置工作目录
|
|
WORKDIR /space
|
|
|
|
# 将 by 中的文件列表 COPY 过来
|
|
COPY . .
|
|
|
|
# 根据 COPY 过来的文件进行依赖的安装
|
|
RUN npm i
|
|
|
|
# 设置好需要的环境变量
|
|
ENV NODE_PATH=/space/node_modules
|
|
|