refactor: rename node to typescript

This commit is contained in:
Oliver Davies 2023-09-24 15:52:49 +01:00
parent 5f14dba7ad
commit 022315edd3
5 changed files with 7 additions and 7 deletions

View file

@ -0,0 +1,3 @@
# {{ managedText | raw }}
--modules-folder /node_modules

View file

@ -0,0 +1,20 @@
FROM node:{{ node.version }} AS base
WORKDIR {{ project_root }}
RUN mkdir /node_modules \
&& chown node:node -R {{ project_root }} /node_modules
COPY --chown=node:node package*.json *yarn* {{ project_root }}
USER node
################################################################################
FROM base AS build
RUN yarn install --frozen-lockfile
COPY --chown=node:node . .
CMD ["bash"]