diff --git a/Dockerfile b/Dockerfile index 41cc424..8620425 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,6 +39,10 @@ VOLUME /data # Set environment variables ENV GEOFEED_PATH=/data/geofeed.csv +ENV PORT=8080 + +# Expose the port the server will run on +EXPOSE 8080 # Run the server CMD ["/app/start.sh", "run"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..eeba338 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,5 @@ +services: + pinpoint: + build: . + ports: + - "8080:8080"