forked from i-dot-ai/scout
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* change image * update image definitions * match container names * test frontend * update build * install dependencies * update build * update build definitions * update build * Switch parser * switch LLM used
- Loading branch information
Showing
16 changed files
with
4,255 additions
and
3,447 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,6 @@ jobs: | |
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v3 | ||
- uses: pre-commit/[email protected] | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v3 | ||
- uses: pre-commit/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
# Use an official Node.js runtime as a parent image | ||
FROM node:20 | ||
FROM node:20.13.1-alpine@sha256:a7b980c958bfe4d84ee9263badd95a40c8bb50ad5afdb87902c187fefaef0e24 AS builder | ||
|
||
# Set the working directory in the container | ||
WORKDIR /app | ||
|
||
# Copy the application code to the working directory | ||
COPY frontend/ ./ | ||
COPY package.json package-lock.json ./ | ||
RUN npm install | ||
|
||
# Install the application dependencies | ||
RUN npm ci | ||
COPY . ./ | ||
RUN npm run build | ||
|
||
FROM builder AS runner | ||
|
||
WORKDIR /app | ||
|
||
COPY --from=builder /app/package.json /app/package-lock.json ./ | ||
COPY --from=builder /app/.next /app/.next | ||
COPY --from=builder /app/public /app/public | ||
|
||
# Expose the port the app runs on | ||
EXPOSE 3000 | ||
|
||
# Run the development server | ||
CMD ["npm", "run", "dev"] | ||
CMD ["npm", "start"] |
Oops, something went wrong.