You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my DockerFile located in the root path of my project
# Args are defined in the Dockerfile before the FROM command.
# Using these args will cause an image to be created with node (default version is 16.18.1), chrome, firefox and edge.
ARG NODE='20.11.1'
ARG CHROME_VERSION='123.0.6312.58-1'
ARG YARN='3.2.2'
ARG CYPRESS='13.7.1'
FROM cypress/factory
COPY . /opt/app
WORKDIR /opt/app
RUN npm install --save-dev cypress
========================================================
And i have a make file to use with the following commands:
cypress1:
docker build . -t test
docker run -it test npm run test -b chrome
So when i type in the terminal in visual studio code make cypress1 i get the following error:
View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/9jtqoygp6l3rizzsmxqfd41wt
What's Next?
View a summary of image vulnerabilities and recommendations → docker scout quickview
docker run -it test npm run test -b chrome
npm ERR! Missing script: "test"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
I'm trying to use cypress/factory because i would like to use chrome for version 13.7.1 with Node=20.11 or 20.5 and prefferably yarn=3.2.2, but i found out there are no images available that have this configuration.
But if so, and i might be missing something, please let me know!
Thank you in advance
The text was updated successfully, but these errors were encountered:
I have followed the instructions from docker hub https://hub.docker.com/r/cypress/factory
This is my DockerFile located in the root path of my project
========================================================
And i have a make file to use with the following commands:
So when i type in the terminal in visual studio code make cypress1 i get the following error:
=========================================================
I'm trying to use cypress/factory because i would like to use chrome for version 13.7.1 with Node=20.11 or 20.5 and prefferably yarn=3.2.2, but i found out there are no images available that have this configuration.
But if so, and i might be missing something, please let me know!
Thank you in advance
The text was updated successfully, but these errors were encountered: