File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ RUN dotnet build -c Release \
22
22
&& cd src/SimplCommerce.WebHost \
23
23
&& dotnet build -c Release \
24
24
&& dotnet publish -c Release -o out
25
+
26
+ RUN curl -SL "https://github.com/rdvojmoc/DinkToPdf/raw/v1.0.8/v0.12.4/64%20bit/libwkhtmltox.so" --output /app/src/SimplCommerce.WebHost/out/libwkhtmltox.so
25
27
26
28
# remove BOM for psql
27
29
RUN sed -i -e '1s/^\x EF\x BB\x BF//' /app/src/SimplCommerce.WebHost/dbscript.sql
@@ -41,8 +43,6 @@ WORKDIR /app
41
43
COPY --from=build-env /app/src/SimplCommerce.WebHost/out ./
42
44
COPY --from=build-env /app/src/SimplCommerce.WebHost/dbscript.sql ./
43
45
44
- RUN curl -SL "https://github.com/rdvojmoc/DinkToPdf/raw/v1.0.8/v0.12.4/64%20bit/libwkhtmltox.so" --output ./libwkhtmltox.so
45
-
46
46
COPY --from=build-env /app/docker-entrypoint.sh /
47
47
RUN chmod 755 /docker-entrypoint.sh
48
48
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ RUN dotnet build -c Release \
23
23
&& cd src/SimplCommerce.WebHost \
24
24
&& dotnet build -c Release \
25
25
&& dotnet publish -c Release -o out
26
+
27
+ RUN curl -SL "https://github.com/rdvojmoc/DinkToPdf/raw/v1.0.8/v0.12.4/64%20bit/libwkhtmltox.so" --output /app/src/SimplCommerce.WebHost/out/libwkhtmltox.so
26
28
27
29
FROM mcr.microsoft.com/dotnet/aspnet:5.0
28
30
@@ -34,6 +36,4 @@ WORKDIR /app
34
36
COPY --from=build-env /app/src/SimplCommerce.WebHost/out ./
35
37
COPY --from=build-env /app/src/SimplCommerce.WebHost/simplcommerce.db ./
36
38
37
- RUN curl -SL "https://github.com/rdvojmoc/DinkToPdf/raw/v1.0.8/v0.12.4/64%20bit/libwkhtmltox.so" --output ./libwkhtmltox.so
38
-
39
39
ENTRYPOINT ["dotnet", "SimplCommerce.WebHost.dll"]
You can’t perform that action at this time.
0 commit comments