jonbio/Dockerfile
Jonathan Branan 30e26313b0
All checks were successful
Build and Deploy docker container / build (push) Successful in 2m52s
Finished cygnus blog
2024-11-26 01:02:24 -06:00

14 lines
229 B
Docker

FROM node:22-alpine
ENV NEXT_TELEMETRY_DISABLED=1
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY ./out /app/out
ENV NODE_ENV=production
ENV PORT=3000
ENV HOSTNAME="0.0.0.0"
EXPOSE 3000
CMD ["npx", "-y", "serve", "out"]