diff --git a/Dockerfile b/Dockerfile index 21578a44..4a83edd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,4 +11,4 @@ RUN curl -s -o go.mod https://raw.githubusercontent.com/animenotifier/notify.moe rm go.* # Create empty working directory -WORKDIR /home/developer/notify.moe \ No newline at end of file +WORKDIR /host \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index e4d3c374..d7d95cac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,12 +1,15 @@ -version: "3" +version: "3.4" services: notify.moe: - build: . + build: + context: . + network: host image: animenotifier/notify.moe stdin_open: true tty: true network_mode: host ports: + - "80:4000" - "443:4001" volumes: - - .:/home/developer/notify.moe \ No newline at end of file + - ~:/host \ No newline at end of file