mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-24 18:46:40 +07:00
copying build, not dist
This commit is contained in:
parent
7735d11019
commit
faed11bb79
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
|||
# stage1 as builder
|
||||
WORKDIR /
|
||||
FROM node:erbium-alpine as builder
|
||||
COPY package.json yarn.lock ./
|
||||
RUN yarn
|
||||
|
@ -9,6 +8,6 @@ RUN yarn build
|
|||
FROM nginx:alpine
|
||||
COPY docker/www/nginx.conf /etc/nginx/nginx.conf
|
||||
RUN rm -rf /usr/share/nginx/html/*
|
||||
COPY --from=builder /dist /usr/share/nginx/html
|
||||
COPY --from=builder /build /usr/share/nginx/html
|
||||
EXPOSE ${EXPOSE} 80
|
||||
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue