diff --git a/buildspec.prod.yml b/buildspec.prod.yml index 4819dd3e..74f20767 100644 --- a/buildspec.prod.yml +++ b/buildspec.prod.yml @@ -20,7 +20,7 @@ phases: - echo Build started on `date` - echo Building the Docker image... - docker login --username $USERNAME --password $PASSWORD - - docker build --cache-from $REPOSITORY_URI:latest -t $REPOSITORY_URI:latest ./apps/slackbot + - docker build --cache-from $REPOSITORY_URI:latest -t $REPOSITORY_URI:latest ./src/apps/slackbot - docker tag $REPOSITORY_URI:latest $REPOSITORY_URI:$IMAGE_TAG post_build: diff --git a/src/apps/slackapp/Dockerfile b/src/apps/slackapp/Dockerfile index fa10be86..f9e6bbca 100644 --- a/src/apps/slackapp/Dockerfile +++ b/src/apps/slackapp/Dockerfile @@ -24,6 +24,6 @@ EXPOSE 80 # Set the working directory in the container -WORKDIR /app/apps/slackapp +WORKDIR /app/src/apps/slackapp # Run the Flask app CMD ["poetry", "run", "python", "-m", "slackapp.bolt_app"]