Skip to content

Commit 492702b

Browse files
committed
Include ICU packages in image
1 parent 3802b34 commit 492702b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ FROM mcr.microsoft.com/dotnet/runtime:9.0-alpine AS final
2323

2424
# Add non-root user
2525
RUN set -eux && \
26-
apk add --no-cache su-exec && \
26+
apk add --no-cache su-exec icu-libs icu-data-full && \
2727
su-exec nobody true && \
2828
addgroup -g 1001 refresh && \
2929
adduser -D -h /refresh -u 1001 -G refresh refresh && \
@@ -33,6 +33,4 @@ COPY --from=build /build/publish/publish /refresh/app
3333

3434
RUN chown -R refresh:refresh /refresh
3535

36-
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
37-
3836
ENTRYPOINT ["su-exec", "refresh:refresh", "/refresh/app/RefreshDiscordBot"]

0 commit comments

Comments
 (0)