Skip to content

Commit

Permalink
ci: fix frontend build
Browse files Browse the repository at this point in the history
  • Loading branch information
Rei-x committed Sep 29, 2024
1 parent 72f4e07 commit dced0f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ FROM base AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .

ENV SKIP_ENV_VALIDATION=true
RUN npm run build

# Production image, copy all the files and run next
Expand Down
1 change: 1 addition & 0 deletions frontend/src/env.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const env = createEnv({
USOS_CONSUMER_KEY: process.env.USOS_CONSUMER_KEY,
USOS_CONSUMER_SECRET: process.env.USOS_CONSUMER_SECRET,
},
skipValidation: process.env.SKIP_ENV_VALIDATION === "true",
});

export const USOS_APPS_URL = `https://apps.${env.USOS_BASE_URL}`;

0 comments on commit dced0f4

Please sign in to comment.