Skip to content

Commit f5e56ab

Browse files
Fix pnpm version inconsistency and desktop app port configuration
1 parent 1d2c0e0 commit f5e56ab

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

WORKSPACE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

apps/desktop/Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ENV HUSKY=0
1414
ENV 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)
2020
ARG 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
4042
FROM node:22-bookworm-slim AS runtime
4143
WORKDIR /app
4244

4345
ENV NODE_ENV=production
44-
ENV PORT=3000
46+
ENV PORT=5173
4547
ENV 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
5355
COPY --from=build /app/node_modules /app/node_modules
5456
COPY --from=build /app/package.json /app/package.json
5557

56-
EXPOSE 3000
58+
EXPOSE 5173
5759

5860
# Healthcheck for Coolify
5961
HEALTHCHECK --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
6365
CMD ["node", "build/server/index.js"]

0 commit comments

Comments
 (0)