File tree Expand file tree Collapse file tree 2 files changed +2
-48
lines changed Expand file tree Collapse file tree 2 files changed +2
-48
lines changed Original file line number Diff line number Diff line change @@ -28,51 +28,5 @@ COPY --from=dev app/ .
28
28
29
29
USER node
30
30
31
- # Command to run the application's 'dist/main' file with 'node'
32
- CMD ["node" , "apps/api-gateway/dist/main" ]
33
-
34
- # ##########
35
- # WIP
36
- # ##########
37
-
38
- # Use an official Node.js runtime as the base image. Base stage to have pnpm installed
39
- # FROM node:20.17-alpine AS base
40
- # ENV PNPM_HOME="/pnpm"
41
- # ENV PATH="$PNPM_HOME:$PATH"
42
- # RUN corepack enable pnpm
43
-
44
- # DEFINING DEVELOPMENT STAGE
45
- # FROM base AS dev
46
-
47
- # WORKDIR /app
48
-
49
- # RUN pnpm fetch
50
-
51
- # COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
52
- # COPY apps/api-gateway ./apps/api-gateway
53
- # COPY tooling ./tooling
54
- # COPY packages ./packages
55
31
56
- # RUN pnpm install && \
57
- # pnpm -r build && \
58
- # pnpm i
59
-
60
-
61
- # RUN \
62
- # if [ "$NODE_ENV" = "production" ]; then \
63
- # corepack enable pnpm && pnpm prune --prod; \
64
- # fiq
65
-
66
-
67
- # DEFINING PRODUCTION STAGE
68
- # FROM base AS prod
69
-
70
- # WORKDIR /app
71
- # COPY --from=dev --chown=node:node /app/apps/api-gateway/dist ./apps/api-gateway/dist
72
- # COPY --from=dev --chown=node:node /app/apps/api-gateway/node_modules ./apps/api-gateway/node_modules
73
- # COPY --from=dev --chown=node:node /app/node_modules ./node_modules
74
-
75
- # USER node
76
-
77
- # Command to run the application's 'dist/main' file with 'node'
78
- # CMD ["node", "apps/api-gateway/dist/main"]
32
+ CMD ["node" , "apps/api-gateway/dist/main" ]
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ import { AppModule } from './app.module';
3
3
4
4
async function bootstrap ( ) {
5
5
const app = await NestFactory . create ( AppModule ) ;
6
- await app . listen ( 3000 ) ;
6
+ await app . listen ( 8080 ) ;
7
7
}
8
8
bootstrap ( ) ;
You can’t perform that action at this time.
0 commit comments