File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,26 +91,26 @@ jobs:
9191
9292 echo "🚀 Starting new container on port 80"
9393 docker run -d \
94- --name nest-app \
95- -p 80:3000 \
96- -e NODE_ENV=$ NODE_ENV \
97- -e DB_HOST=$ DB_HOST \
98- -e DB_PORT=$ DB_PORT \
99- -e DB_USER=$ DB_USER \
100- -e DB_PASS=$ DB_PASS \
101- -e DB_NAME=$ DB_NAME \
102- -e DB_SSL=$ DB_SSL \
103- -e S3_REGION=$ S3_REGION \
104- -e S3_BUCKET_NAME=$ S3_BUCKET_NAME \
105- -e S3_ACCESS_KEY=$ S3_ACCESS_KEY \
106- -e S3_SECRET_ACCESS_KEY=$ S3_SECRET_ACCESS_KEY \
107- ${{ steps.build-image.outputs.image }}
108- echo "🔍 Checking container status..."
94+ --name nest-app \
95+ -p 80:3000 \
96+ -e NODE_ENV \
97+ -e DB_HOST \
98+ -e DB_PORT \
99+ -e DB_USER \
100+ -e DB_PASS \
101+ -e DB_NAME \
102+ -e DB_SSL \
103+ -e S3_REGION \
104+ -e S3_BUCKET_NAME \
105+ -e S3_ACCESS_KEY \
106+ -e S3_SECRET_ACCESS_KEY \
107+ ${{ steps.build-image.outputs.image }}
108+ echo "🔍 Checking container status..."
109109 sleep 5
110110 STATUS=$(docker inspect -f '{{.State.Status}}' nest-app)
111111 if [ "$STATUS" != "running" ]; then
112112 echo "❌ Container failed to start. Status: $STATUS"
113113 docker logs nest-app || true
114114 exit 1
115115 fi
116- echo "✅ Container is running."
116+ echo "✅ Container is running."
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { AppService } from './app.service';
44import { PhotoModule } from './photo/photo.module' ;
55import { DatabaseModule } from './database/database.module' ;
66import { ConfigModule } from '@nestjs/config' ;
7- import { S3Service } from './s3/s3.service' ;
87import { S3Module } from './s3/s3.module' ;
98
109@Module ( {
You can’t perform that action at this time.
0 commit comments