NestJS backend rewrite; migrate client to FluentUI V9
This commit is contained in:
17
server/Dockerfile
Normal file
17
server/Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
FROM node:lts-alpine AS base
|
||||
|
||||
FROM base AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm ci
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE $EMS_PORT
|
||||
|
||||
CMD ["node", "dist/main"]
|
@ -18,6 +18,6 @@ async function bootstrap() {
|
||||
const documentFactory = () => SwaggerModule.createDocument(app, config)
|
||||
SwaggerModule.setup('docs', app, documentFactory)
|
||||
|
||||
await app.listen(process.env.PORT ?? 3000);
|
||||
await app.listen(process.env.EMS_PORT ?? 3000);
|
||||
}
|
||||
bootstrap();
|
Reference in New Issue
Block a user