Skip to content

Commit

Permalink
mod:: PORT 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Devheun committed Jul 24, 2024
1 parent d670214 commit 17c53ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ COPY --from=build /app/package*.json /app/
# 프로덕션 의존성만 설치
RUN npm install --production

EXPOSE 3000
EXPOSE 3080

ENTRYPOINT ["npm", "run", "start:prod"]
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ async function bootstrap() {
const document = SwaggerModule.createDocument(app, config);
SwaggerModule.setup('api', app, document);

await app.listen(3000);
await app.listen(process.env.PORT);
}
bootstrap();

0 comments on commit 17c53ca

Please sign in to comment.