isl-vue3/Dockerfile

11 lines
261 B
Docker

FROM oven/bun:1-alpine as build-stage
WORKDIR /app
COPY . /app
RUN bun install
RUN bun run build
FROM nginx:stable-alpine as release
COPY --from=build-stage /app/docker/nginx.conf /etc/nginx/nginx.conf
COPY --from=build-stage /app/dist /usr/share/nginx/html