Copy DataStream WebApp 'dist' to 'wwwroot' in deploy script
This commit is contained in:
1 parent
f9084e24dd
commit
4f6614c080
1 file changed
+9
@@ -137,6 +137,15 @@ if [ $status -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Copy DataStream WebApp bundle to release_bin
|
||||
cp -r "build/Bts.DataStreamWebApp.Client/production/dist" "$release_bin/wwwroot"
|
||||
status=$?
|
||||
if [ $status -ne 0 ]; then
|
||||
echo "Copy DataStream WebApp bundle exited with code $status. Full command below:"
|
||||
echo "cp build/Bts.DataStreamWebApp.Client/production/dist $release_bin/wwwroot"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cat <<EOF >> "$release_dir/Dockerfile"
|
||||
COPY "bin" "$app_name/bin"
|
||||
WORKDIR /home/bts/$app_name/bin
|
||||
|
||||
Reference in new issue
Block a user