1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mareshq-backoffice-v1-monolith/bun.dockerfile

19 lines
375 B
Docker

FROM --platform=linux/amd64 oven/bun:1.0.1
WORKDIR /app
EXPOSE 3000
ENV PORT 3000
ARG NEXT_TELEMETRY_DISABLED=1
ARG SKIP_ENV_VALIDATION=1
ENV NODE_ENV=production
RUN apt-get update && \
apt-get install -y ca-certificates openssl=1.1.1n-0+deb11u5
COPY . .
RUN bun install --frozen-lockfile
RUN bun --bun run build
CMD ["bun", "run", "/app/.next/standalone/server.js"]