This commit is contained in:
parent
0f0eea8468
commit
4fd090fe2f
@ -4,7 +4,7 @@ WORKDIR /build/
|
|||||||
RUN bun install && bun run build
|
RUN bun install && bun run build
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
COPY --from=front /build/dist /usr/share/
|
COPY --from=front /build/dist /usr/share/dist
|
||||||
RUN rm /etc/nginx/conf.d/default.conf
|
RUN rm /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
# 将自定义配置文件nginx.conf复制到容器内/etc/nginx/conf.d/目录
|
# 将自定义配置文件nginx.conf复制到容器内/etc/nginx/conf.d/目录
|
||||||
|
Loading…
Reference in New Issue
Block a user