Add snapshot tests for Fractal

This commit is contained in:
Oliver Davies 2023-12-16 00:36:03 +00:00
parent 2186c29246
commit 31ef9b2968
12 changed files with 273 additions and 1 deletions

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"]