mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-03-17 18:12:21 +01:00
fix docker build
This commit is contained in:
parent
c019dcb3fb
commit
96d70fadb5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user