/vue-cypress-docker-compose-demo

run vue cli project, cypress in docker

Primary LanguageJavaScript

cypress

start the container

After starting the container, it will run the unit test and start the dev server and run the e2e tests

compose-compose up

Use dev.sh

# In the project, root dir
. ./dev.sh
# run the unit tests
docker-unit

# run the e2e test
docker-e2e

# install package
docker-npm install package_name
# After installing the package. Remember to rebuild the image when starting the container next time
docker-compose build web
# stop the containers
docker-compose down