Skip to content

Expose port in Dockerfile #932

@pedroescumalha

Description

@pedroescumalha

Issue

The current Dockerfile for the mockoon cli doesn't expose a port. This would be very useful for developers trying to run this image as a service in a gitlab's CI/CD pipeline. Gitlab doesn't allow to specify a port in this feature, they use the exposed port of the Dockerfile, and since there's none, it fails to start the service.

Solution

Expose the port 3000 (I believe it's the default for the mockoon server) on the Dockerfile.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done (ready for next release)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions