Skip to content

Commit 24fe50e

Browse files
Fix Dockerfiles of CSharp/solution_2&3 and Pascal/solution_3 (PlummersSoftwareLLC#788)
1 parent d62c74f commit 24fe50e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

PrimeCSharp/solution_2/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ RUN dotnet publish -c release -o /app --no-restore
1313
FROM mcr.microsoft.com/dotnet/runtime:3.1-focal
1414
WORKDIR /app
1515
COPY --from=build /app .
16-
ENTRYPOINT ["PrimeSieveCS"]
16+
ENTRYPOINT ["./PrimeSieveCS"]

PrimeCSharp/solution_3/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ RUN dotnet publish -c release -o /app --no-restore
1313
FROM mcr.microsoft.com/dotnet/runtime:5.0-focal
1414
WORKDIR /app
1515
COPY --from=build /app .
16-
ENTRYPOINT ["PrimeSieveCS"]
16+
ENTRYPOINT ["./PrimeSieveCS"]

PrimePascal/solution_3/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ RUN fpc PrimePas -O3 -v0
77

88
FROM ubuntu:20.04
99
WORKDIR /opt/app
10-
COPY --from=build /opt/app/PrimePas /opt/app/run.sh /
10+
COPY --from=build /opt/app/PrimePas /opt/app/run.sh /opt/app/
1111

1212
ENTRYPOINT [ "./run.sh" ]

0 commit comments

Comments
 (0)