fix: add .dockerignore and build step to optimize containerization
This commit is contained in:
@@ -6,6 +6,8 @@ COPY . .
|
||||
ENV NODE_ENV=production
|
||||
RUN bun install --frozen-lockfile --production
|
||||
|
||||
RUN bun run build
|
||||
|
||||
FROM joseluisq/static-web-server:2-alpine AS runner
|
||||
|
||||
WORKDIR /public
|
||||
|
||||
Reference in New Issue
Block a user