added Dockerfile and docker-compose.yml
Build: docker-compose build Run (Provide ./Lora-Map/config/requests.conf and ./Lora-Map/config/settings.conf): docker-compose up -d
This commit is contained in:
parent
9f7e6b4b24
commit
c5e7b9e103
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM mono:latest
|
||||
|
||||
RUN apt-get update && apt-get install -y curl gnupg
|
||||
|
||||
RUN curl -L http://repo.blubbfish.net/blubb.gpg.key | apt-key add -
|
||||
RUN echo "deb http://repo.blubbfish.net blubb main" | tee "/etc/apt/sources.list.d/blubb.list"
|
||||
|
||||
RUN apt-get update && apt-get install -y loramap
|
||||
|
||||
RUN chmod u+x /usr/local/bin/loramap/Lora-Map.exe
|
||||
|
||||
WORKDIR /usr/local/bin/loramap
|
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal file
@ -0,0 +1,13 @@
|
||||
version: '2.3'
|
||||
|
||||
services:
|
||||
loramap:
|
||||
build:
|
||||
context: .
|
||||
image: janniswarnat/loramap
|
||||
command: ["mono","./Lora-Map.exe"]
|
||||
ports:
|
||||
- 8080:8080
|
||||
volumes:
|
||||
- "./Lora-Map/config/requests.conf:/etc/loramap/requests.conf"
|
||||
- "./Lora-Map/config/settings.conf:/etc/loramap/settings.conf"
|
Loading…
Reference in New Issue
Block a user