hastebin-build/latest/run.sh

9 lines
173 B
Bash
Raw Normal View History

#!/bin/sh
set -xe
# we have to run the chown here since the VOLUME is mounted
# after the build with root:root
chown -R ${UID}:${GID} /app
su-exec ${UID}:${GID} npm start