1
0
Fork 0
mirror of https://github.com/silenty4ng/k5web synced 2025-03-29 19:54:59 +00:00
k5web/Dockerfile
sysuid 98b56e09e7 Update Dockerfile
fix copy static file
2024-06-08 16:30:04 +08:00

17 lines
217 B
Docker

FROM node:22 AS build-yarn
WORKDIR /app
COPY yarn.lock package.json ./
RUN yarn install
COPY . .
RUN yarn build
FROM nginx:latest AS runtime
COPY --from=build-yarn /app/dist/ /usr/share/nginx/html/
EXPOSE 80