mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-20 21:33:56 +02:00
Implemented Danswer versioning system. (#649)
* Web & API server versioning system. Displayed on UI. * Remove some debugging code. * Integrated backend version into GitHub Action & Docker build workflow using env variables. * Fixed web container environment variable name. * Revise Dockerfiles for GitHub Actions workflow. * Added system information page to admin panel with version info. Updated github workflows to include tagged version, and corresponding changes in the dockerfiles and codebases for web&backend to use env variables if present. Changed to 'dev' naming scheme if no env var is present to indicate local setup. Removed version from admin panel header. * Added missing systeminfo dir to remote repo.
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
FROM node:20-alpine AS base
|
||||
|
||||
# Default DANSWER_VERSION build argument set here.
|
||||
# This can be overridden by passing in a build arg, typically from GitHub Actions.
|
||||
ARG DANSWER_VERSION=0.1.0
|
||||
# Then passed to the container environment.
|
||||
ENV DANSWER_VERSION=${DANSWER_VERSION}
|
||||
|
||||
# Step 1. Install dependencies only when needed
|
||||
FROM base AS deps
|
||||
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
|
||||
|
Reference in New Issue
Block a user