Add snapshot tests for Fractal
This commit is contained in:
parent
2186c29246
commit
31ef9b2968
12 changed files with 273 additions and 1 deletions
20
tests/snapshots/output/fractal/Dockerfile
Normal file
20
tests/snapshots/output/fractal/Dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue