From 1b74d94d0ab20dcff0709d23c831203659aefdba Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Wed, 18 Sep 2024 17:29:46 +0100 Subject: [PATCH] Update Dockerfile context and copy paths for Workflow integration --- .github/workflows/release.yml | 2 +- Workflow/Dockerfile.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f45758d8fe..57e436bcfe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1278,7 +1278,7 @@ jobs: uses: docker/build-push-action@v4 with: file: ./Workflow/Dockerfile - context: ./Workflow + context: . # arm64 is not supported by the base image of the LLM platforms: linux/amd64 push: true diff --git a/Workflow/Dockerfile.tpl b/Workflow/Dockerfile.tpl index 9671e35dec..faa42da933 100644 --- a/Workflow/Dockerfile.tpl +++ b/Workflow/Dockerfile.tpl @@ -44,7 +44,7 @@ ENV PRODUCTION=true WORKDIR /usr/src/app # Install app dependencies -COPY ./Worker/package*.json /usr/src/app/ +COPY ./Workflow/package*.json /usr/src/app/ # Set version in ./App/package.json to the APP_VERSION RUN sed -i "s/\"version\": \".*\"/\"version\": \"$APP_VERSION\"/g" /usr/src/app/package.json RUN npm install @@ -58,7 +58,7 @@ EXPOSE 3099 CMD [ "npm", "run", "dev" ] {{ else }} # Copy app source -COPY ./Worker /usr/src/app +COPY ./Workflow /usr/src/app # Bundle app source RUN npm run compile #Run the app