Skip to content

Commit

Permalink
fixes errors with building backstage in codebuild (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
jritsema authored Apr 18, 2024
1 parent ac3c3f3 commit 40b9663
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions terraform/fargate-examples/backstage/templates/buildspec.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
version: 0.2

env:
variables:
"DOCKER_BUILDKIT": "1"

phases:
install:
runtime_versions:
nodejs: 14
runtime-versions:
nodejs: 18
commands:
- npm install -g yarn
- yarn install
- yarn tsc
pre_build:
commands:
- echo $REPO_URL
Expand All @@ -21,7 +26,7 @@ phases:
- echo "Building from $(pwd)"
- echo Build started on `date`
- echo Building the Docker image...
- yarn build
- yarn build:backend --config ../../app-config.yaml
- yarn build-image
post_build:
commands:
Expand Down

0 comments on commit 40b9663

Please sign in to comment.