maybe fix

This commit is contained in:
Constantin Simonis 2025-02-05 14:38:58 +01:00
commit 4d8f7391ea
No known key found for this signature in database
GPG key ID: 758DD9C506603183
3 changed files with 11 additions and 7 deletions

View file

@ -1,16 +1,15 @@
FROM oven/bun:latest AS build
WORKDIR /app
ENV NODE_ENV=production
COPY .. .
RUN bun install --prod
RUN bun run build
FROM oven/bun:latest AS production
FROM oven/bun:latest AS prod
WORKDIR /app
RUN bun install --prod
COPY --from=build /app /app
EXPOSE 3001
CMD ["bun", "start", "-p", "3001"]
CMD ["bun", "run", "start"]