GrabTs / Dockerfile
launch-calcium's picture
Create Dockerfile (#5)
4058d95
Raw
History Blame Contribute Delete
241 Bytes
FROM oven/bun as build
WORKDIR /app
COPY . .
RUN bun install --frozen-lockfile && bun run build
FROM oven/bun:slim
WORKDIR /app
COPY --from=build /.output ./
EXPOSE 7860
ENV PORT=7860 HOST=0.0.0.0
CMD ["bun", ".output/server/index.mjs"]