rwynn / monstache

a go daemon that syncs MongoDB to Elasticsearch in realtime. you know, for search.
https://rwynn.github.io/monstache-site/
MIT License
1.28k stars 181 forks source link

Add default expose port of 8080 to Dockerfile #725

Open sammaphey opened 4 months ago

sammaphey commented 4 months ago

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