mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-03-21 17:54:13 -05:00
Node 20 LTS reaches end-of-life April 2026. Updated all references: - Dockerfile base image to node:22 - All GitHub Actions workflows to Node 22 - Bumped actions/checkout and actions/setup-node to v4 where outdated - Added .nvmrc file for local development Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
217 B
Docker
16 lines
217 B
Docker
FROM node:22
|
|
|
|
# App setup
|
|
WORKDIR /app
|
|
ENV PUPPETEER_SKIP_DOWNLOAD=true
|
|
|
|
# Install NPM dependencies
|
|
COPY package*.json ./
|
|
RUN npm ci
|
|
|
|
# Copy app files and build
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
CMD ["npm", "run", "start"]
|