Added DockerFile
This commit is contained in:
parent
3c8b97871b
commit
90c03d919d
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
FROM node:20
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD [ "npm", "start" ]
|
|
@ -14,9 +14,9 @@ type LdapUser = {
|
|||
username: string
|
||||
mail: string | null
|
||||
displayName: string
|
||||
campus: string
|
||||
thumbnailPhoto: string | null
|
||||
groups?: string[]
|
||||
campus?: string
|
||||
}
|
||||
|
||||
export class LdapService extends Client implements LdapClientInterface {
|
||||
|
|
|
@ -19,6 +19,7 @@ export class UserService {
|
|||
displayName: ldapUser.displayName,
|
||||
mail: ldapUser.mail,
|
||||
thumbnailPhoto: ldapUser.thumbnailPhoto,
|
||||
campus: ldapUser.campus,
|
||||
roles: []
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user