mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 14:10:29 +08:00
Merge branch '5.x' of https://github.com/cool-team-official/cool-admin-midway into 5.x
This commit is contained in:
commit
8fe0c03b84
@ -13,7 +13,7 @@ run/
|
||||
*.un~
|
||||
.tsbuildinfo
|
||||
.tsbuildinfo.*
|
||||
src/app/public/uploads/
|
||||
.audit
|
||||
typings/
|
||||
.cache
|
||||
.serverless/
|
||||
public/uploads/
|
||||
cache/
|
||||
|
@ -1,3 +1,4 @@
|
||||
|
||||
FROM node:lts-alpine
|
||||
|
||||
WORKDIR /app
|
||||
@ -12,7 +13,7 @@ RUN apk add --no-cache tzdata
|
||||
ENV TZ="Asia/Shanghai"
|
||||
|
||||
# 如果各公司有自己的私有源,可以替换registry地址,如使用官方源注释下一行
|
||||
RUN npm config set registry https://repo.huaweicloud.com/repository/npm/
|
||||
RUN npm config set registry https://registry.npm.taobao.org
|
||||
|
||||
# 安装开发期依赖
|
||||
COPY package.json ./package.json
|
||||
@ -28,4 +29,4 @@ RUN npm install --production
|
||||
# 如果端口更换,这边可以更新一下
|
||||
EXPOSE 8001
|
||||
|
||||
CMD ["npm", "run", "docker"]
|
||||
CMD ["npm", "run", "start"]
|
Loading…
Reference in New Issue
Block a user