diff --git a/docker-compose.yml b/docker-compose.yml index dd066a4..b2d1741 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,10 +2,7 @@ version: "3" services: app: - build: - context: . - dockerfile: docker/Dockerfile - image: powerdns-admin:latest + image: ngoduykhanh/powerdns-admin:latest container_name: powerdns_admin ports: - "9191:80" diff --git a/docker-test/Dockerfile b/docker-test/Dockerfile index 2e40cf8..577e120 100644 --- a/docker-test/Dockerfile +++ b/docker-test/Dockerfile @@ -17,6 +17,7 @@ RUN apt-get update -y \ COPY ./requirements.txt /app/requirements.txt WORKDIR /app +RUN pip3 install --upgrade pip RUN pip3 install -r requirements.txt COPY . /app diff --git a/docker/Dockerfile b/docker/Dockerfile index f3773fd..4f4ac3e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -17,6 +17,7 @@ RUN apt-get update -y \ COPY ./requirements.txt /app/requirements.txt WORKDIR /app +RUN pip3 install --upgrade pip RUN pip3 install -r requirements.txt COPY . /app