Add docker compose
This commit is contained in:
parent
ffebff2fce
commit
a53538b998
2 changed files with 9 additions and 0 deletions
|
@ -39,6 +39,10 @@ VOLUME /data
|
||||||
|
|
||||||
# Set environment variables
|
# Set environment variables
|
||||||
ENV GEOFEED_PATH=/data/geofeed.csv
|
ENV GEOFEED_PATH=/data/geofeed.csv
|
||||||
|
ENV PORT=8080
|
||||||
|
|
||||||
|
# Expose the port the server will run on
|
||||||
|
EXPOSE 8080
|
||||||
|
|
||||||
# Run the server
|
# Run the server
|
||||||
CMD ["/app/start.sh", "run"]
|
CMD ["/app/start.sh", "run"]
|
||||||
|
|
5
docker-compose.yml
Normal file
5
docker-compose.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
services:
|
||||||
|
pinpoint:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
Loading…
Reference in a new issue