Preserve /go path in development container

This commit is contained in:
Michael Mayer 2020-12-04 11:25:17 +01:00
parent 52a26c1c5f
commit ca41189dda
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM photoprism/development:20201121
FROM photoprism/development:20201204
# Set up project directory
WORKDIR "/go/src/github.com/photoprism/photoprism"

View File

@ -151,7 +151,7 @@ WORKDIR "/go/src/github.com/photoprism/photoprism"
# Expose HTTP port 2342, 2343 plus 9515 for chromedriver
EXPOSE 2342 2343 9515
VOLUME /var/lib/photoprism
VOLUME /var/lib/photoprism /go
# Keep container running (services can be started manually using a terminal)
CMD tail -f /dev/null

View File

@ -1,4 +1,4 @@
FROM photoprism/development:20201121 as build
FROM photoprism/development:20201204 as build
# Set up project directory
WORKDIR "/go/src/github.com/photoprism/photoprism"