mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-09-27 19:06:12 +02:00
fix docker build
This commit is contained in:
@@ -13,12 +13,12 @@ RUN apt update && \
|
|||||||
|
|
||||||
#run yarn install
|
#run yarn install
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN cd VoidCat/spa \
|
RUN git config --global --add safe.directory /app \
|
||||||
|
&& cd VoidCat/spa \
|
||||||
&& npx yarn \
|
&& npx yarn \
|
||||||
&& npx yarn build
|
&& npx yarn build
|
||||||
|
|
||||||
RUN rm -rf VoidCat/appsettings.*.json \
|
RUN rm -rf VoidCat/appsettings.*.json \
|
||||||
&& git config --global --add safe.directory /app \
|
|
||||||
&& dotnet publish -c Release -o out VoidCat/VoidCat.csproj
|
&& dotnet publish -c Release -o out VoidCat/VoidCat.csproj
|
||||||
|
|
||||||
# Build runtime image
|
# Build runtime image
|
||||||
|
Reference in New Issue
Block a user