mirror of
https://github.com/thelittlerocket/zero-ui.git
synced 2024-09-20 08:25:54 +08:00
chore: update Dockerfile
This commit is contained in:
parent
736359fe25
commit
ead11f11e1
|
@ -1,4 +1,4 @@
|
|||
FROM node:current-alpine3.13 as build-stage
|
||||
FROM node:current-alpine as build-stage
|
||||
|
||||
ENV INLINE_RUNTIME_CHUNK=false
|
||||
ENV GENERATE_SOURCEMAP=false
|
||||
|
@ -12,7 +12,7 @@ COPY ./frontend /app/frontend
|
|||
RUN yarn build
|
||||
|
||||
|
||||
FROM node:current-alpine3.13
|
||||
FROM node:current-alpine
|
||||
|
||||
WORKDIR /app/frontend/build
|
||||
COPY --from=build-stage /app/frontend/build /app/frontend/build/
|
||||
|
|
Loading…
Reference in a new issue