diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 7aae3a7..3770f92 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -23,7 +23,18 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - fetch-depth: 0 # Fetch all history for all branches + fetch-depth: 0 # Fetch all history for all branches + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + + - name: Install dependencies + run: npm ci + + - name: Run prebuild script + run: npm run prebuild # Install the cosign tool except on PR # https://github.com/sigstore/cosign-installer diff --git a/README.md b/README.md index 7dfc26b..3690124 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ favorite web browser or as a PWA from your phone's main screen. ## Running (out of the box) ```shell -docker run -p 8080:80 --name time-tracker ghcr.io/wojciechpolak/time-tracker +docker run -it -p 8080:80 --name time-tracker ghcr.io/wojciechpolak/time-tracker ``` ### Running with Docker Compose