feat: initial commit from Create Next App

This commit is contained in:
Oliver Davies 2022-09-09 18:00:00 +01:00
parent 96167de713
commit 584fe6d245
18 changed files with 2486 additions and 7 deletions

View file

@ -1,15 +1,16 @@
FROM node:16-bullseye AS base
ENV PATH=${PATH}:/app/node_modules/.bin
ENV PATH=${PATH}:/node_modules/.bin
WORKDIR /app
RUN chown node:node -R /app
RUN mkdir -p /node_modules \
&& chown node:node -R /app /node_modules
USER node
COPY --chown=node:node package.* ./
COPY --chown=node:node package.json *yarn* ./
RUN npm install
RUN yarn install --frozen-lockfile
COPY --chown=node:node . .