mirror of
https://github.com/acedanger/pokemon.git
synced 2025-12-05 14:40:14 -08:00
40fc872108f9a2a4eae7b3797c451735f6fc295a
This script is used to deploy the Pokemon Finder application using Docker.
It stops any existing container, builds a new Docker image, and runs the container.
Ensure the script is run from the directory containing the Dockerfile
and the application code.
This script also includes a testing stage using Playwright.
It builds the application using Vite, starts a preview server, and runs Playwright tests.
If the tests pass, it proceeds with the Docker deployment.
Usage: ./deploy.sh
Description
Languages
JavaScript
59.2%
HTML
13.9%
Shell
13.7%
CSS
11.1%
Dockerfile
2.1%