13 lines
242 B
Plaintext
13 lines
242 B
Plaintext
FROM oven/bun:1 AS build-stage
|
|
WORKDIR /app
|
|
|
|
COPY package.json ./
|
|
RUN bun install
|
|
|
|
COPY . .
|
|
RUN bun run build
|
|
|
|
FROM nginx:alpine
|
|
COPY --from=build-stage /app/dist /usr/share/nginx/html
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
EXPOSE 80 |