Skip to content

Commit

Permalink
Dockerfile dotnet6 compatibility (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcglohon committed Apr 17, 2022
1 parent 5371db1 commit 1219981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:5.0.101-focal-amd64 AS builder
FROM mcr.microsoft.com/dotnet/sdk:6.0-focal-amd64 AS builder

RUN apt-get update && \
apt-get install -y automake ca-certificates g++ git libtool libtesseract4 make pkg-config libc6-dev && \
Expand All @@ -7,7 +7,7 @@ RUN apt-get update && \
COPY . /src
RUN cd /src && \
dotnet restore && \
dotnet publish -c Release -o /src/PgsToSrt/out && \
dotnet publish -c Release -f net6.0 -o /src/PgsToSrt/out && \
mv /src/entrypoint.sh /entrypoint.sh && chmod +x /entrypoint.sh && \
mv /src/PgsToSrt/out /app

Expand Down

0 comments on commit 1219981

Please sign in to comment.