Skip to content

Commit

Permalink
πŸ› fixed Dockerfile tzdata install failed
Browse files Browse the repository at this point in the history
  • Loading branch information
jxnkwlp committed Feb 7, 2024
1 parent 62ccbb4 commit d7da3a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0

EXPOSE 8080
ENV TZ=Etc/UTC

#
WORKDIR /app

ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false

RUN apk add --no-cache icu-libs icu-data-full krb5-libs libgcc libintl libssl1.1 libstdc++ zlib tzdata
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata

#
COPY app /app
Expand Down

0 comments on commit d7da3a0

Please sign in to comment.