diff options
| author | Bobby <[email protected]> | 2023-11-10 19:17:12 -0500 |
|---|---|---|
| committer | Bobby <[email protected]> | 2023-11-10 19:17:12 -0500 |
| commit | 9d0bb4593a1ea777184be4b036cdf2136958b775 (patch) | |
| tree | 17a579399049b054d55715b3a87aa7716ee14b9c | |
| parent | 854504fce4798cf529b55cd052599952572c400b (diff) | |
| download | thatcomputerscientist-9d0bb4593a1ea777184be4b036cdf2136958b775.tar.xz thatcomputerscientist-9d0bb4593a1ea777184be4b036cdf2136958b775.zip | |
Update Dockerfile
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -16,6 +16,12 @@ RUN mkdir -p /shifoo WORKDIR /shifoo +# Bind database and images folders as read write. +# /home/ubuntu/database -> db.sqlite3 :: bind to /database -> db.sqlite3 in container +# /home/ubuntu/database/images -> images :: bind to /WORKDIR/images in container + +VOLUME ["/database", "/shifoo/images"] + COPY requirements.txt . RUN pip install -r requirements.txt |
