test
Some checks failed
Build and push Docker image / build (push) Failing after 4s

This commit is contained in:
Constantin Simonis 2025-02-05 12:39:53 +01:00
parent 0ca780f4aa
commit 53d1b68341
Signed by: csimonis
GPG Key ID: 758DD9C506603183

View File

@ -1,9 +1,16 @@
FROM oven/bun:1 AS base FROM oven/bun:latest AS build
USER root
WORKDIR /usr/src/app
COPY .. /usr/src/app WORKDIR /app
RUN bun install
EXPOSE 3000/tcp ENV NODE_ENV=production
ENTRYPOINT [ "bun", "start" ] COPY .. .
RUN bun install --prod
FROM oven/bun:latest AS production
WORKDIR /app
RUN bun install --prod
EXPOSE 3001
CMD ["bun", "start", "-p", "3001"]