mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-10-03 12:26:58 -05:00
21 lines
349 B
Docker
21 lines
349 B
Docker
FROM node:24
|
|
|
|
# App setup
|
|
WORKDIR /app
|
|
ENV PUPPETEER_SKIP_DOWNLOAD=true
|
|
|
|
# Archive compression
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends zstd \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install NPM dependencies
|
|
COPY package*.json ./
|
|
RUN npm ci
|
|
|
|
# Copy app files and build
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
CMD ["npm", "run", "start"]
|