diff --git a/.github/workflows/test_release.yml b/.github/workflows/test_release.yml index daa6a44d..167325ad 100644 --- a/.github/workflows/test_release.yml +++ b/.github/workflows/test_release.yml @@ -46,8 +46,8 @@ jobs: if: ${{ steps.checkdocker.outputs.secretspresent }} uses: docker/build-push-action@v5.0.0 with: + context: "{{defaultContext}}:view" platforms: linux/amd64, linux/arm64 push: false tags: | qxip/qryn:latest - - run: docker run qxip/qryn:latest sh -c 'cd view && ls | grep assets' diff --git a/Dockerfile b/Dockerfile index 4e382c1c..ca7aa971 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,8 @@ FROM node:20.10-slim COPY . /app WORKDIR /app +RUN cd view && ls + RUN groupadd -r qryn && useradd -r -g qryn -m qryn && chown -R qryn:qryn /app USER qryn