[ADD] Dev container: add 'upload' directory to mounted volumes
This commit is contained in:
parent
e01e324b2b
commit
26b04ad118
@ -190,7 +190,7 @@ dev() {
|
||||
if [ $GISSMO_DEV_RUNNING_PORT -eq 0 ]; then
|
||||
PORT_PARAM=" -P "
|
||||
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user