mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
Merge branch 'master' into api-reference
This commit is contained in:
commit
5725d30e8a
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user