This commit is contained in:
parent
092e763a05
commit
57af477547
@ -31,7 +31,7 @@ COPY --from=builder /app/public* ./public/
|
|||||||
# 设置淘宝源并安装生产依赖
|
# 设置淘宝源并安装生产依赖
|
||||||
RUN npm config set registry https://registry.npmmirror.com && npm install --only=production
|
RUN npm config set registry https://registry.npmmirror.com && npm install --only=production
|
||||||
|
|
||||||
# 暴露3000端口
|
# 暴露 3000 端口
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
# 启动生产服务器
|
# 启动生产服务器
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user