Skip to content

Commit ecabdce

Browse files
DevdattaDevdatta
authored andcommitted
PersonalPaaS - CF template update
1 parent c0cb58c commit ecabdce

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PaaS/PersonalPaaS/template.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,17 @@ Resources:
5454
rm -rf $APP_DIR
5555
mkdir -p $APP_DIR
5656

57-
git --work-tree=$APP_DIR --git-dir=$REPO_DIR checkout -f
57+
sudo -u ubuntu git --work-tree=$APP_DIR --git-dir=$REPO_DIR checkout -f main
5858
cd $APP_DIR
5959

60-
# Requirement 6: Build the docker container. Tag it myapp
60+
# Requirement 6: Build the docker container. Tag it myapp
6161

6262
docker stop myapp-container || true
6363
docker rm myapp-container || true
6464

6565
pkill -f "docker logs -f myapp-container" || true
6666

67-
# Requirement 7: Run the Docker container. Map the application port to port 80. Name the container myapp-container
67+
# Requirement 7: Run the Docker container. Map the application port to port 80. Name the container myapp-container
6868

6969
mkdir -p /home/ubuntu/logs
7070
touch $APP_LOG_FILE

0 commit comments

Comments
 (0)