jonbio/Dockerfile
Jonathan Branan b89accc396
All checks were successful
Build and Deploy docker container / build (push) Successful in 1m53s
Build and Deploy docker container / deploy (push) Successful in 4s
a
2024-11-02 22:27:02 -05:00

14 lines
223 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", "serve", "out"]