This commit is contained in:
Haitao Pan 2025-12-15 08:02:02 +08:00
parent d3bb06989a
commit 118178a0cd
4 changed files with 7 additions and 5 deletions

View File

@ -70,6 +70,7 @@ jobs:
matrix:
service:
- { name: dashboard, workdir: ., dockerfile: Dockerfile }
- { name: neurapress, workdir: ., dockerfile: packages/neurapress/docker/Dockerfile.prod }
steps:
# -------------------------------------------------------------
@ -157,6 +158,7 @@ jobs:
matrix:
service:
- { name: dashboard, workdir: ., dockerfile: Dockerfile }
- { name: neurapress, workdir: ., dockerfile: packages/neurapress/docker/Dockerfile.prod }
steps:
# -------------------------------------------------------------

View File

@ -37,7 +37,7 @@ RUN npm install -g pnpm
# Set production environment
ENV NODE_ENV=production
ENV PORT=3000
ENV PORT=4000
# Copy necessary files from builder
COPY --from=builder --chown=nextjs:nodejs /app/package.json .
@ -57,4 +57,4 @@ USER nextjs
EXPOSE 3000
# Start the application
CMD ["pnpm", "start"]
CMD ["pnpm", "start"]

View File

@ -6,11 +6,11 @@ services:
context: ..
dockerfile: docker/Dockerfile.dev
ports:
- "3000:3000"
- "4000:4000"
volumes:
- ..:/app
- /app/node_modules
- /app/.next
environment:
- NODE_ENV=development
command: pnpm dev
command: pnpm dev

View File

@ -945,7 +945,7 @@ __metadata:
react-dom: "npm:^18.2.0"
tailwind-merge: "npm:^2.6.0"
tailwindcss-animate: "npm:^1.0.7"
checksum: 10/16eca58164408c27beb16bdcc3b480f424d77df7df45f473ec9b17629851849265605c313d90aa61ee31793ecb870e056457a8e938f5dde3310f43ad4c417f8f
checksum: 10/217c5288a84d502daf03173de5def03d2b82efe4576b0dd37331317ca73c6697c83e8041100fe531f167f72d682ab37d5fa90554df8686fc168f1595baf86879
languageName: node
linkType: hard