Skip to content

Commit

Permalink
fix(fastboot): make fastboot compat with ED
Browse files Browse the repository at this point in the history
Bumps to latest fastboot server image which now supports ember data 4.12
and up. Also use a 4.12 ember cli to build the app
  • Loading branch information
abeforgit committed Nov 4, 2023
1 parent beb8e4a commit 21d4b17
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/thick-cameras-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'frontend-gelinkt-notuleren-publicatie': patch
---

Fix fastboot errors with new ember data
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM madnificent/ember:4.9.2 as builder
FROM madnificent/ember:4.12.1-node_18 as builder

LABEL maintainer="info@redpencil.io"

Expand All @@ -10,5 +10,5 @@ COPY . .
RUN ember build -prod


FROM redpencil/fastboot-app-server:1.1.0
FROM redpencil/fastboot-app-server:latest
COPY --from=builder /app/dist /app
1 change: 1 addition & 0 deletions config/fastboot.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = function () {
? TransformStream
: require('node:stream/web').TransformStream,
Headers: typeof Headers !== 'undefined' ? Headers : undefined,
BACKEND_URL: "http://backend"
});
},
};
Expand Down

0 comments on commit 21d4b17

Please sign in to comment.