* v0.9.55 - CGI Support (eg PHP, Perl, etc) - Slight PC Admin updates - Numerous bug fixes - Security updates --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
19 lines
476 B
Bash
Executable File
19 lines
476 B
Bash
Executable File
#!/bin/bash
|
|
DIR="$(realpath "$(dirname "${0}")")"
|
|
BUILDDIR="${DIR}/docker-compose/minisrv"
|
|
|
|
docker build -f "${BUILDDIR}/Dockerfile-dev" -t minisrv-dev:latest "${BUILDDIR}"
|
|
|
|
if [ "${1}" == "env" ]; then
|
|
shift
|
|
docker run --rm -it -p 1600-1699:1600-1699 \
|
|
-v "${DIR}/zefie_wtvp_minisrv:/workspace" \
|
|
minisrv-dev:latest \
|
|
"${@}"
|
|
else
|
|
docker run --rm -it -p 1600-1699:1600-1699 \
|
|
-v "${DIR}/zefie_wtvp_minisrv:/workspace" \
|
|
minisrv-dev:latest \
|
|
node /workspace/app.js
|
|
fi
|