Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default expose port of 8080 to Dockerfile #725

Open
sammaphey opened this issue Jun 7, 2024 · 0 comments
Open

Add default expose port of 8080 to Dockerfile #725

sammaphey opened this issue Jun 7, 2024 · 0 comments

Comments

@sammaphey
Copy link

I am trying to build integration tests through Gitlab Services but get an error because there is no default exposed port, as required by Gitlab CI.

This is easily solved by modifying the Dockerfile to expose port 8080:

# Build the docker file needed to construct integration tests.
FROM rwynn/monstache:latest

# The base image does not expose a port (gitlab CI requires an exposed port to run as a service).
EXPOSE 8080

Please add this default port so that I don't have to manually create a new docker image just to expose the port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant