🐳 Fixes dockerfile
This commit is contained in:
@@ -6,12 +6,12 @@ COPY bun.lock* package.json ./
|
||||
RUN bun install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
RUN bun run build
|
||||
RUN bun run generate
|
||||
|
||||
FROM oven/bun:latest as runner
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/dist ./
|
||||
COPY --from=build /app/.output/public ./
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["bun", "x", "serve", "--single"]
|
||||
|
||||
Reference in New Issue
Block a user