https://cypress.io logo
I'm using the cypress docker image `cypress/includ...
# e2e-testing
j
I'm using the cypress docker image
cypress/included:10.3.1-typescript
I am wondering if there's anything I can do to improve this? I commented out the cypress/package.json part because I was getting an unknown file extension error.
Copy code
FROM cypress/included:10.3.1-typescript

ARG PIX_UI_NPM_TOKEN

# Copy the pix-one source files into the container in the name of peace and sanity
COPY . /app_root
WORKDIR /app_root

# Since we only need a subset of dependencies to run cypress, we overwrite the pix-one package.json with this cypress-specific one
# RUN mv cypress/package.json /app_root

# This will result in a node_modules directory being created within the container, inside the /app_root folder
RUN yarn
ARG CYPRESS_PIPELINE