mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-21 21:40:48 +02:00
Mount the mandatory config files separately in docker-compose, since it's including the whole /app from host and therefore the copies made in Dockerfile aren't available.
This commit is contained in:
parent
85e104006c
commit
869bf2a9fd
2 changed files with 6 additions and 2 deletions
|
@ -2,12 +2,14 @@
|
|||
|
||||
set -e
|
||||
|
||||
echo "Doing it here"
|
||||
|
||||
# Find our app dir
|
||||
appdir=$(cd $(dirname "$0")/.. && pwd)
|
||||
|
||||
# Check if we've been told to run the command in Docker Composer.
|
||||
cmd="$@"; [ "$#" -eq 0 ] && cmd=bash
|
||||
export VOLUME="$appdir:/app"
|
||||
export VOLUME="$appdir"
|
||||
image=${DOCKER_IMAGE:=web}
|
||||
|
||||
port_publish=""; [ "${BIND_DOCKER_SERVICE_PORTS:-}" = 1 ] && port_publish="--service-ports"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue