Update port

This commit is contained in:
TheMaddax 2024-11-27 12:13:51 -06:00
parent 992a4a6500
commit d17f4aa624
2 changed files with 4 additions and 3 deletions

View file

@ -22,6 +22,8 @@ RUN pnpm build
FROM base AS runner
ENV NODE_ENV=production
ENV PORT=805
ENV HOSTNAME "0.0.0.0"
# Copy necessary files
COPY --from=builder /app/public ./public
@ -30,7 +32,5 @@ COPY --from=builder /app/.next/static ./.next/static
COPY --from=builder /app/src/styles/output.css ./src/styles/output.css
EXPOSE 805
ENV PORT 3000
ENV HOSTNAME "0.0.0.0"
CMD ["node", "server.js"]

View file

@ -6,7 +6,8 @@ services:
context: .
dockerfile: Dockerfile
ports:
- "805:3000"
- "805:805"
environment:
- NODE_ENV=production
- PORT=805
restart: unless-stopped