Preserve /go path in development container
This commit is contained in:
parent
52a26c1c5f
commit
ca41189dda
|
@ -1,4 +1,4 @@
|
||||||
FROM photoprism/development:20201121
|
FROM photoprism/development:20201204
|
||||||
|
|
||||||
# Set up project directory
|
# Set up project directory
|
||||||
WORKDIR "/go/src/github.com/photoprism/photoprism"
|
WORKDIR "/go/src/github.com/photoprism/photoprism"
|
||||||
|
|
|
@ -151,7 +151,7 @@ WORKDIR "/go/src/github.com/photoprism/photoprism"
|
||||||
|
|
||||||
# Expose HTTP port 2342, 2343 plus 9515 for chromedriver
|
# Expose HTTP port 2342, 2343 plus 9515 for chromedriver
|
||||||
EXPOSE 2342 2343 9515
|
EXPOSE 2342 2343 9515
|
||||||
VOLUME /var/lib/photoprism
|
VOLUME /var/lib/photoprism /go
|
||||||
|
|
||||||
# Keep container running (services can be started manually using a terminal)
|
# Keep container running (services can be started manually using a terminal)
|
||||||
CMD tail -f /dev/null
|
CMD tail -f /dev/null
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM photoprism/development:20201121 as build
|
FROM photoprism/development:20201204 as build
|
||||||
|
|
||||||
# Set up project directory
|
# Set up project directory
|
||||||
WORKDIR "/go/src/github.com/photoprism/photoprism"
|
WORKDIR "/go/src/github.com/photoprism/photoprism"
|
||||||
|
|
Loading…
Reference in a new issue