File tree 2 files changed +7
-3
lines changed 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,18 @@ RUN apt-get update && \
25
25
# Install Node.js LTS version
26
26
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
27
27
apt-get install -y nodejs
28
+
29
+ # Install Sqllite
30
+ RUN apt-get install -y sqlite3 libsqlite3-dev
31
+ RUN dotnet tool install -g Volo.Abp.Cli
32
+ ENV PATH="${PATH}:/root/.dotnet/tools"
33
+ RUN abp install-libs
28
34
RUN dotnet build "./InertiaDemo.csproj" -c $BUILD_CONFIGURATION -o /app/build
29
35
30
36
# This stage is used to publish the service project to be copied to the final stage
31
37
FROM build AS publish
32
38
ARG BUILD_CONFIGURATION=Release
33
- RUN dotnet publish "./InertiaDemo.csproj" -c $BUILD_CONFIGURATION -r $RUNTIME_IDENTIFIER - o /app/publish --self-contained
39
+ RUN dotnet publish "./InertiaDemo.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
34
40
35
41
# This stage is used in production or when running from VS in regular mode (Default when not using the Debug configuration)
36
42
FROM base AS final
Original file line number Diff line number Diff line change 10
10
<SpaRoot >ClientApp\</SpaRoot >
11
11
<DefaultItemExcludes >$(DefaultItemExcludes);$(SpaRoot)node_modules\**</DefaultItemExcludes >
12
12
<UserSecretsId >7010f51f-fc6b-44ff-8be5-f7f78f3a7939</UserSecretsId >
13
- <DockerDefaultTargetOS >Linux</DockerDefaultTargetOS >
14
- <DockerfileContext >..\..</DockerfileContext >
15
13
</PropertyGroup >
16
14
17
15
<ItemGroup >
You can’t perform that action at this time.
0 commit comments