diff --git a/Dockerfile b/Dockerfile index 830cefd..9bedbe3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN chown -R webref:webref . # install web app and wsgi server: USER root RUN pip install --no-cache-dir -r requirements.txt -RUN pip install --no-cache ppf.webref==0.1.1 +RUN pip install --no-cache ppf.webref==0.2.0 # run wsgi server: USER webref diff --git a/Makefile b/Makefile index 6f67bf0..6cc51b5 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION := 0.1 +VERSION := 0.2.0 webref-$(VERSION).tar.gz: Dockerfile config/requirements.txt Makefile docker build -t webref:$(VERSION) . @@ -8,5 +8,5 @@ up: webref-$(VERSION).tar.gz VERSION=$(VERSION) docker compose up --detach clean: - VERSION=$(VERSION) docker-compose down --rmi all --volumes --remove-orphans + VERSION=$(VERSION) docker compose down --rmi all --volumes --remove-orphans rm -f webref-$(VERSION).tar.gz diff --git a/docker-compose_templ.yml b/docker-compose_templ.yml index 6328096..21e3065 100644 --- a/docker-compose_templ.yml +++ b/docker-compose_templ.yml @@ -3,6 +3,7 @@ services: image: webref:${VERSION} ports: - "7000:8080" + network_mode: bridge volumes: - :/usr/local/lib/python3.11/site-packages/ppf/webref/references secrets: diff --git a/docs/README.md b/docs/README.md index 329bc19..6d9b885 100644 --- a/docs/README.md +++ b/docs/README.md @@ -111,4 +111,5 @@ everyone to adhere to it, just make sure you do as well. # Changelog -* 0.1: Dockerizes `ppf.webref-0.1.1`. +* 0.2.0: Dockerizes `ppf.webref-0.2.0` +* 0.1: Dockerizes `ppf.webref-0.1.1`.