runtipi/Dockerfile.dev

24 lines
487 B
Text

ARG NODE_VERSION="18.12.1"
ARG ALPINE_VERSION="3.16"
FROM node:${NODE_VERSION}-buster-slim
WORKDIR /
RUN apt update
RUN apt install -y openssl
RUN npm install node-gyp -g
WORKDIR /dashboard
COPY ./packages/dashboard/package*.json /dashboard/
COPY ./packages/dashboard/prisma/schema.prisma /dashboard/prisma/
RUN npm install
WORKDIR /api
COPY ./packages/system-api/package*.json /api/
RUN npm install
COPY ./packages/system-api /api
COPY ./packages/dashboard /dashboard
WORKDIR /