diff --git a/.github/workflows/client-image.yml b/.github/workflows/client-image.yml index d2cccf7b..ca6d6ab0 100644 --- a/.github/workflows/client-image.yml +++ b/.github/workflows/client-image.yml @@ -22,9 +22,7 @@ jobs: - uses: actions/checkout@v3 - name: 'Copy Static' # Needed since Github actions does not support symlinks - run: | - rm nodeapp/static - cp -r frontend/static nodeapp/static + run: cp -r frontend/static nodeapp/static - name: 'Download main.js Artifact' if: inputs.semver == '' # Only if workflow fired from frontend-build.yml diff --git a/nodeapp/Dockerfile b/nodeapp/Dockerfile index d351b6a7..d3e5d021 100644 --- a/nodeapp/Dockerfile +++ b/nodeapp/Dockerfile @@ -2,6 +2,9 @@ FROM alpine:3.18.0 LABEL maintainer="Reckless_Satoshi https://github.com/reckless-satoshi" +# Needs a copy or symlink of /frontend/static in /nodeapp/static +# Github client release workflow copies /frontend/static here + RUN mkdir -p /usr/src/robosats WORKDIR /usr/src/robosats diff --git a/nodeapp/static b/nodeapp/static deleted file mode 120000 index 9653c34d..00000000 --- a/nodeapp/static +++ /dev/null @@ -1 +0,0 @@ -../frontend/static \ No newline at end of file