swapping ports

This commit is contained in:
C-West8
2026-10-23 10:09:47 -05:00
parent 5d105bd0ed
commit 064246ce42
5 changed files with 15 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ RUN npm run build && npm prune --omit=dev
# Runtime stage: the built server, production dependencies and the migrations.
FROM base
ENV NODE_ENV=production \
PORT=3000 \
PORT=3288 \
DATABASE_PATH=/data/sync.db
COPY --from=build /app/package.json ./
COPY --from=build /app/node_modules ./node_modules
@@ -28,7 +28,7 @@ COPY --from=build /app/drizzle ./drizzle
RUN mkdir /data && chown node:node /data
USER node
VOLUME /data
EXPOSE 3000
EXPOSE 3288
HEALTHCHECK --interval=30s --timeout=5s --start-period=30s --retries=3 \
CMD ["node", "-e", "fetch(`http://127.0.0.1:${process.env.PORT}/healthz`).then((r) => process.exit(r.ok ? 0 : 1), () => process.exit(1))"]
CMD ["node", "build"]