mirror of
https://github.com/Kizuren/uLinkShortener.git
synced 2025-12-21 13:06:19 +01:00
Update Dockerfile
This commit is contained in:
parent
cb3b9eacff
commit
960db5f6d7
1 changed files with 2 additions and 4 deletions
|
|
@ -12,13 +12,11 @@ FROM oven/bun:1-slim AS runner
|
|||
WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
|
||||
COPY --from=builder /app/node_modules ./node_modules
|
||||
COPY --from=builder /app/.next ./.next
|
||||
COPY --from=builder /app/public ./public
|
||||
COPY --from=builder /app/package.json ./package.json
|
||||
COPY --from=builder /app/next.config.ts ./next.config.ts
|
||||
|
||||
RUN bun install --production
|
||||
RUN bun add typescript
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["bun", "run", "start"]
|
||||
CMD ["bunx", "next", "start"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue