Skip to content

Commit

Permalink
Fix configurator ESM issues
Browse files Browse the repository at this point in the history
  • Loading branch information
unkhz committed Aug 5, 2024
1 parent b87c43f commit 7238531
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Binary file modified bun.lockb
Binary file not shown.
8 changes: 6 additions & 2 deletions packages/configurator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ WORKDIR /app
COPY --link --from=ghcr.io/unkhz/ruuvipuserrin-base-bun /app/node_modules ./node_modules
COPY --link --from=build /app/packages/configurator/build ./packages/configurator/build

WORKDIR /app/packages/configurator
WORKDIR /app

EXPOSE 3000

ENV PORT=3000

CMD ["npx", "remix-serve", "build/server/index.js"]
CMD [ \
"node_modules/.bin/tsx", \
"node_modules/.bin/remix-serve", \
"packages/configurator/build/server/index.js" \
]
5 changes: 3 additions & 2 deletions packages/configurator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
"sideEffects": false,
"type": "module",
"dependencies": {
"@ruuvipuserrin/common-archive-client": "workspace:*",
"@remix-run/node": "^2.11.0",
"@remix-run/react": "^2.11.0",
"@remix-run/serve": "^2.11.0",
"@ruuvipuserrin/common-archive-client": "workspace:*",
"cross-env": "^7.0.3",
"daisyui": "^2.50.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"tsx": "^4.16.5"
},
"devDependencies": {
"@remix-run/dev": "^2.11.0",
Expand Down

0 comments on commit 7238531

Please sign in to comment.