Fix #592 - Adjustment in Dockerfile to upgrade pip package

This commit is contained in:
Khanh Ngo 2019-12-07 14:45:41 +07:00
parent 80b6ca19ac
commit f8aaf88fc0
3 changed files with 3 additions and 4 deletions

View File

@ -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"

View File

@ -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

View File

@ -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