kemono2/client/Dockerfile

16 lines
227 B
Docker
Raw Normal View History

2024-07-04 22:08:17 +02:00
# syntax=docker/dockerfile:1
FROM node:16.14
ENV NODE_ENV=production
WORKDIR /app
COPY ["package.json", "package-lock.json", "/app/"]
RUN npm install -g npm
RUN npm ci --also=dev
COPY . /app
CMD [ "npm", "run", "build" ]