Skip to content

Commit b752c1b

Browse files
Fix System.Globalization.CultureNotFoundException when running under Docker
1 parent 1a31aac commit b752c1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN touch dummy.txt && \
2525
FROM mcr.microsoft.com/dotnet/runtime:9.0.0-alpine3.20
2626
LABEL com.centurylinklabs.watchtower.enable=true
2727
WORKDIR /app
28+
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
2829
RUN apk add --no-cache git redis openssh
2930
RUN git config --global --add safe.directory /app/Lists/Private
3031
COPY --from=build-env /app/out .

0 commit comments

Comments
 (0)