Skip to content

Commit aa9d41b

Browse files
committed
Add cache as Docker volume
1 parent 05d7b96 commit aa9d41b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.dockerignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
LICENSE.txt
2-
README.md
2+
README.md
3+
cache/**/*
4+
.env
5+
venv/**/*

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Make sure you set the correct environment variables if you want to configure any
5151
See [.env.example](.env.example) for a full list
5252
of configuration options.
5353
```sh
54-
docker run --rm -e PODIMO_HOSTNAME=localhost:12104 -e PODIMO_BIND_HOST=0.0.0.0:12104 -e PODIMO_PROTOCOL=http -p 12104:12104 podimo:latest
54+
docker run --rm -e PODIMO_BIND_HOST=0.0.0.0:12104 -p 12104:12104 -v $(pwd)/cache:/src/cache podimo:latest
5555
```
5656

5757
4. Visit http://localhost:12104. You should see the site now!

0 commit comments

Comments
 (0)