fix build

This commit is contained in:
jxxghp 2023-08-04 13:48:13 +08:00
parent eae18c8b89
commit 81f1cc1523
2 changed files with 3 additions and 2 deletions

View File

@ -38,8 +38,8 @@ jobs:
cd MoviePilot-Frontend
yarn && yarn build
cd ..
mkdir -p /public
cp -rf ./MoviePilot-Frontend/dist/* /public/
mkdir -p public
cp -rf ./MoviePilot-Frontend/dist/* ./public/
rm -rf MoviePilot-Frontend
chmod +x start.sh

View File

@ -42,6 +42,7 @@ RUN apt-get update \
bash \
&& mkdir -p /etc/nginx ${HOME} \
&& cp -f nginx.conf /etc/nginx/nginx.template.conf \
&& mv ./public / \
&& groupadd -r moviepilot -g 911 \
&& useradd -r moviepilot -g moviepilot -d ${HOME} -s /bin/bash -u 911 \
&& pip install --upgrade pip \