2024-08-26 21:05:35 -05:00
|
|
|
FROM codeberg.org/korbs/bun:amd64 AS runtime
|
2024-05-13 22:34:06 -05:00
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
2024-08-26 21:05:35 -05:00
|
|
|
RUN bun install
|
2024-09-24 13:36:29 -05:00
|
|
|
RUN bun run build
|
2024-05-13 22:34:06 -05:00
|
|
|
|
|
|
|
ENV HOST=0.0.0.0
|
|
|
|
ENV PORT=4321
|
2024-05-15 11:09:16 -05:00
|
|
|
ENV SKIP_KEYSTATIC=true
|
2024-05-13 22:34:06 -05:00
|
|
|
EXPOSE 4321
|
2024-08-26 21:05:35 -05:00
|
|
|
CMD bun ./dist/server/entry.mjs
|