Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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) .
Expand All @@ -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
1 change: 1 addition & 0 deletions docker-compose_templ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ services:
image: webref:${VERSION}
ports:
- "7000:8080"
network_mode: bridge
volumes:
- <path to refs>:/usr/local/lib/python3.11/site-packages/ppf/webref/references
secrets:
Expand Down
3 changes: 2 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.