File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -444,4 +444,4 @@ pnpm build
444444
445445** Last Updated:** 2025-10-07
446446** Workspace Version:** 1.0
447- ** Package Manager:** pnpm 10.17.1
447+ ** Package Manager:** pnpm 10.18.0
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ ENV HUSKY=0
1414ENV CI=true
1515
1616# Use pnpm
17- RUN corepack enable && corepack prepare pnpm@9.15.9 --activate
17+ RUN corepack enable && corepack prepare pnpm@10.18.0 --activate
1818
1919# Accept (optional) build-time public URL for Remix/Vite (Coolify can pass it)
2020ARG VITE_PUBLIC_APP_URL
@@ -37,11 +37,13 @@ RUN pnpm prune --prod --ignore-scripts
3737
3838
3939# ---- runtime stage ----
40+ # Note: This is for deploying the desktop app's Remix server to web platforms like Coolify
41+ # For native desktop installers, use electron:build:* scripts instead
4042FROM node:22-bookworm-slim AS runtime
4143WORKDIR /app
4244
4345ENV NODE_ENV=production
44- ENV PORT=3000
46+ ENV PORT=5173
4547ENV HOST=0.0.0.0
4648
4749# Install curl so Coolify’s healthcheck works inside the image
@@ -53,11 +55,11 @@ COPY --from=build /app/build /app/build
5355COPY --from=build /app/node_modules /app/node_modules
5456COPY --from=build /app/package.json /app/package.json
5557
56- EXPOSE 3000
58+ EXPOSE 5173
5759
5860# Healthcheck for Coolify
5961HEALTHCHECK --interval=10s --timeout=3s --start-period=5s --retries=5 \
60- CMD curl -fsS http://localhost:3000 / || exit 1
62+ CMD curl -fsS http://localhost:5173 / || exit 1
6163
6264# Start the Remix server
6365CMD ["node" , "build/server/index.js" ]
You can’t perform that action at this time.
0 commit comments