Files
west-sound-hall/Dockerfile
Tony Grosinger 29ffaca0f7
Some checks failed
Build Production Image / Build Production Image (push) Failing after 3m9s
Upgrade to node 22
2025-09-20 15:09:36 -07:00

21 lines
402 B
Docker

FROM docker.io/library/node:22-alpine AS build-env
ENV NODE_ENV=production
ENV PORT=3000
ENV NEXT_TELEMETRY_DISABLED=1
WORKDIR /app
# Building app
COPY package*.json ./
# Install node modules
# Note: We also install dev deps as TypeScript may be needed
RUN npm install
# Copy files. Use dockerignore to avoid copying node_modules
COPY . .
# Run app command
CMD ["/bin/ash", "/app/entrypoint.sh"]