Merge branch 'master' into api-reference

This commit is contained in:
Simon Larsen 2024-09-18 17:51:33 +01:00
commit 5725d30e8a
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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