runtipi/Dockerfile.dev

24 lines
458 B
Text
Raw Permalink Normal View History

ARG NODE_VERSION="18.16"
ARG ALPINE_VERSION="3.18"
2022-06-03 20:42:23 +00:00
FROM node:${NODE_VERSION}-alpine${ALPINE_VERSION}
2022-06-03 20:42:23 +00:00
2023-02-17 17:39:18 +00:00
RUN npm install pnpm -g
2022-06-03 20:42:23 +00:00
2023-02-17 17:39:18 +00:00
WORKDIR /app
COPY ./pnpm-lock.yaml ./
COPY ./patches ./patches
RUN pnpm fetch --ignore-scripts
2023-02-17 17:39:18 +00:00
COPY ./package*.json ./
COPY ./packages/shared ./packages/shared
2023-02-17 17:39:18 +00:00
RUN pnpm install -r --prefer-offline
COPY ./tsconfig.json ./tsconfig.json
COPY ./next.config.mjs ./next.config.mjs
COPY ./public ./public
2022-06-03 20:42:23 +00:00
CMD ["npm", "run", "dev"]