neko/client/Dockerfile
2024-09-08 17:22:49 +02:00

18 lines
259 B
Docker

ARG BASE_IMAGE=node:18-bullseye-slim
FROM $BASE_IMAGE AS client
WORKDIR /src
#
# install dependencies
COPY package*.json ./
RUN npm install
#
# build client
COPY . .
RUN npm run build
#
# artifacts from this stage
# COPY --from=client /src/dist/ /var/www