Skip to content

Commit 6611445

Browse files
committed
fix structure
1 parent 7d22ab6 commit 6611445

File tree

4 files changed

+3
-46
lines changed

4 files changed

+3
-46
lines changed
File renamed without changes.

docker/Dockerfile

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
1-
FROM node:18-bookworm-slim
2-
LABEL description="Libertech Dev" \
3-
maintainer="Libertech <aide@libertech.fr>" \
4-
vendor=Libertech \
5-
name="sesame-orchestrator"
6-
7-
ENV TIMEZONE=Europe/Paris \
8-
LANGUAGE=fr_FR.UTF-8 \
9-
LANG=fr_FR.UTF-8 \
10-
DEBIAN_FRONTEND=noninteractive \
11-
SUPERVISOR_VERSION=4.0.1 \
12-
GOSU_VERSION=1.11 \
13-
TERM=xterm \
14-
BRANCHNAME=master
1+
FROM ghcr.io/libertech-fr/sesame-orchestrator
152

163
RUN apt clean -y \
174
&& apt update -y \
@@ -23,12 +10,8 @@ RUN apt clean -y \
2310
&& locale-gen ${LANG} \
2411
&& dpkg-reconfigure --frontend ${DEBIAN_FRONTEND} locales \
2512
&& apt install --no-install-recommends -yq procps supervisor
26-
27-
WORKDIR /data
28-
#RUN npm i -g @nestjs/cli
29-
#RUN npm install --save @nestjs/swagger
13+
3014
COPY ./rootfs /
31-
EXPOSE 4000
3215

3316
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]
3417

rootfs/etc/supervisor/supervisord.conf

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/core/auth/auth.module.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { Module } from '@nestjs/common';
22
import { AuthController } from './auth.controller';
33
import { AuthService } from './auth.service';
44
import { IAuthModuleOptions, PassportModule } from '@nestjs/passport';
5-
import { HeaderApiKeyStrategy } from '~/core/auth/_strategies/auth-header-api-key.strategy';
65
import { ConfigModule, ConfigService } from '@nestjs/config';
76
import { AgentsModule } from '~/core/agents/agents.module';
87
import { JwtModule, JwtModuleOptions } from '@nestjs/jwt';
@@ -28,6 +27,6 @@ import { LocalStrategy } from '~/core/auth/_strategies/local.strategy';
2827
AgentsModule,
2928
],
3029
controllers: [AuthController],
31-
providers: [AuthService, HeaderApiKeyStrategy, JwtStrategy, LocalStrategy],
30+
providers: [AuthService, JwtStrategy, LocalStrategy],
3231
})
3332
export class AuthModule {}

0 commit comments

Comments
 (0)