mirror of
https://github.com/Afilmory/afilmory
synced 2026-02-01 14:44:48 +00:00
feat: add GIT_TOKEN and PG_CONNECTION_STRING to environment configuration
- Updated the .env.template to include GIT_TOKEN for remote repository authentication. - Modified the Dockerfile to accept GIT_TOKEN and PG_CONNECTION_STRING as build arguments, enhancing the configuration for deployment. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -2,3 +2,4 @@ S3_ACCESS_KEY_ID=
|
||||
S3_SECRET_ACCESS_KEY=
|
||||
|
||||
PG_CONNECTION_STRING=
|
||||
GIT_TOKEN=
|
||||
|
||||
@@ -22,6 +22,8 @@ RUN pnpm install --frozen-lockfile
|
||||
|
||||
ARG S3_ACCESS_KEY_ID
|
||||
ARG S3_SECRET_ACCESS_KEY
|
||||
ARG GIT_TOKEN
|
||||
ARG PG_CONNECTION_STRING
|
||||
# Build the app.
|
||||
# The build script in the ssr package.json handles building the web app first.
|
||||
RUN pnpm --filter=@afilmory/ssr build
|
||||
|
||||
Reference in New Issue
Block a user