From 1724e70c11e3579f03a549ce514ed4dba07364e7 Mon Sep 17 00:00:00 2001 From: Jin Igarashi Date: Fri, 21 Jan 2022 18:15:29 +0000 Subject: [PATCH] fixed dockerfile to copy config.yaml --- Dockerfile | 1 + docker-compose.yml | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 77efaff..eb7769c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ RUN apk add curl RUN apk add gettext RUN mkdir -p /etc/martin +COPY config.yaml /etc/martin/config.yaml COPY entrypoint.sh /usr/bin/entrypoint.sh WORKDIR /etc/martin diff --git a/docker-compose.yml b/docker-compose.yml index 13ace9d..67ca90c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,15 +2,16 @@ version: "3" services: martin: - image: ghcr.io/undp-data/martin-docker:latest + image: ghcr.io/undp-data/martin-docker:v0.0.2 + build: . restart: unless-stopped container_name: martin_geohub ports: - 3000:3000 env_file: - .env - volumes: - - ./:/etc/martin/:rw + # volumes: + # - ./:/etc/martin/:rw