diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fa9ce15 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/password.env diff --git a/Dockerfile b/Dockerfile index ee1cb18..d6ab458 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # -FROM python:3.6.5 +FROM python:3.7 LABEL maintainer="https://github.com/akailash/" ARG ARG_DEVPI_SERVER_VERSION=5.3.1 diff --git a/docker-compose.yml b/docker-compose.yml index b959d01..480d3fc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,12 +1,11 @@ version: '2' services: - devpi: - image: muccg/devpi:latest + build: . volumes: - - ./data:/data + - e:/devpi:/data ports: - 3141:3141 - environment: - - DEVPI_PASSWORD= + env_file: + - password.env restart: always