feat: add Fractal files

This commit is contained in:
Oliver Davies 2023-10-12 23:11:13 +01:00
parent 06d6697939
commit 35837b6c3f
17 changed files with 4109 additions and 0 deletions

20
Dockerfile Normal file
View file

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