Skip to content

Commit

Permalink
TypeScript to start server (#49800)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Heis <[email protected]>
  • Loading branch information
peterbe and heiskr authored Mar 28, 2024
1 parent 61fc247 commit ef86766
Show file tree
Hide file tree
Showing 7 changed files with 174 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-broken-links-github-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
ENABLED_LANGUAGES: en
run: |
node src/frame/server.js &
npm run start &
sleep 5
curl --retry-connrefused --retry 3 -I http://localhost:4000/
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ COPY --chown=node:node next.config.js ./

EXPOSE $PORT

CMD ["node", "src/frame/server.js"]
CMD ["node_modules/.bin/tsx", "src/frame/server.ts"]

# --------------------------------------------------------------------------------
# PRODUCTION IMAGE - includes all translations
Expand Down
Loading

0 comments on commit ef86766

Please sign in to comment.