✨ 添加ping命令
This commit is contained in:
parent
1a09a1276c
commit
d8f0938a11
@ -4,10 +4,7 @@ COPY ./web .
|
||||
COPY yarn.lock .
|
||||
RUN yarn
|
||||
RUN yarn build
|
||||
# RUN find ../server/app/static -type f ! -name '.gitkeep' -exec rm -f {} +
|
||||
# RUN mv dist/* ../server/app/static
|
||||
|
||||
# 在这里加上builder_server
|
||||
FROM node:20.16-alpine3.20 AS builder_server
|
||||
WORKDIR /easynode/server
|
||||
COPY ./server .
|
||||
@ -16,6 +13,7 @@ COPY --from=builder_web /easynode/web/dist ./app/static
|
||||
RUN yarn
|
||||
|
||||
FROM node:20.16-alpine3.20
|
||||
RUN apk add --no-cache iputils
|
||||
WORKDIR /easynode
|
||||
COPY --from=builder_server /easynode/server .
|
||||
ENV HOST=0.0.0.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user