[ADD] Dev container: add 'upload' directory to mounted volumes

This commit is contained in:
Olivier DOSSMANN 2016-04-14 10:50:42 +02:00
parent e01e324b2b
commit 26b04ad118

View File

@ -190,7 +190,7 @@ dev() {
if [ $GISSMO_DEV_RUNNING_PORT -eq 0 ]; then if [ $GISSMO_DEV_RUNNING_PORT -eq 0 ]; then
PORT_PARAM=" -P " PORT_PARAM=" -P "
fi fi
$docker_cmd run -it --rm --link ${POSTGRES_DOCKER_NAME}:db ${PORT_PARAM} -v ${GISSMO_DIR}:/opt/gissmo gissmo:${GISSMO_VERSION} ${ARGS:='development'} || error_and_quit "Failed to create and launch ${GISSMO_DOCKER_NAME} container." $docker_cmd run -it --rm --link ${POSTGRES_DOCKER_NAME}:db ${PORT_PARAM} -v ${GISSMO_DIR}:/opt/gissmo -v ${UPLOAD_DIR}:/opt/gissmo/upload gissmo:${GISSMO_VERSION} ${ARGS:='development'} || error_and_quit "Failed to create and launch ${GISSMO_DOCKER_NAME} container."
} }
test_backup() { test_backup() {