This commit is contained in:
parent
f177475779
commit
0ccca4b488
@ -171,19 +171,19 @@ app.get('/api/auth/config', (_req,res)=>{
|
||||
});
|
||||
});
|
||||
|
||||
const port = Number(process.env.PORT||8080);
|
||||
app.listen(port, ()=> log.info({
|
||||
port,
|
||||
oidc: { issuer: oidcCfg.issuer, redirect: oidcCfg.redirectUri, provider: oidcCfg.providerName }
|
||||
}, 'listening'));
|
||||
});
|
||||
|
||||
const port = Number(process.env.PORT||8080);
|
||||
app.listen(port, ()=> {
|
||||
const port = Number(process.env.PORT || 8080);
|
||||
app.listen(port, () => {
|
||||
log.info({
|
||||
port,
|
||||
oidc: {
|
||||
issuer: oidcCfg.issuer,
|
||||
redirect: oidcCfg.redirectUri,
|
||||
provider: oidcCfg.providerName
|
||||
}
|
||||
}, 'listening');
|
||||
});
|
||||
|
||||
export default app;
|
||||
provider: oidcCfg.providerName,
|
||||
clientIdLen: oidcCfg.clientId.length
|
||||
},
|
||||
|
@ -5,16 +5,16 @@ RUN if [ -f package-lock.json ]; then npm ci; else npm install; fi && npm instal
|
||||
COPY index.html vite.config.ts tsconfig.json ./
|
||||
COPY src ./src
|
||||
ARG VITE_API_BASE
|
||||
ARG OIDC_PROVIDER
|
||||
ARG VITE_OIDC_PROVIDER
|
||||
ARG VITE_BING_MKT
|
||||
ARG VITE_BING_DISABLE
|
||||
ENV VITE_API_BASE=$VITE_API_BASE
|
||||
ENV OIDC_PROVIDER=$OIDC_PROVIDER
|
||||
ENV VITE_OIDC_PROVIDER=${VITE_OIDC_PROVIDER:-$OIDC_PROVIDER}
|
||||
ENV VITE_OIDC_PROVIDER=$VITE_OIDC_PROVIDER
|
||||
ENV VITE_BING_MKT=$VITE_BING_MKT
|
||||
ENV VITE_BING_DISABLE=$VITE_BING_DISABLE
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:1.27-alpine
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
FROM nginx:1.27-alpine
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
|
Loading…
x
Reference in New Issue
Block a user