fix docker build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kieran 2023-12-22 13:31:52 +00:00
parent c019dcb3fb
commit 96d70fadb5
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -13,12 +13,12 @@ RUN apt update && \
#run yarn install
COPY . .
RUN cd VoidCat/spa \
RUN git config --global --add safe.directory /app \
&& cd VoidCat/spa \
&& npx yarn \
&& npx yarn build
RUN rm -rf VoidCat/appsettings.*.json \
&& git config --global --add safe.directory /app \
&& dotnet publish -c Release -o out VoidCat/VoidCat.csproj
# Build runtime image