Skip to content

Commit

Permalink
build: export 3001 in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
RetricSu committed Jan 20, 2025
1 parent 29d6160 commit 2e9ea64
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,12 @@ RUN pnpm install --prod
# Copy built files from builder stage
COPY --from=builder /app/dist ./dist

# Expose port 3000 (from Config.apiHttpPort)
# Expose port 3000
EXPOSE 3000

# Expose ws port 3001
EXPOSE 3001

# Set environment variables
ENV NODE_ENV=production

Expand Down

0 comments on commit 2e9ea64

Please sign in to comment.