hotel (v1.0.35)
Published 2025-01-15 17:05:07 +08:00 by lxmou666
Installation
docker pull home.lxmou.cn:31419/lxmou666/hotel:v1.0.35sha256:4466a6bb4787af9676259059de382821e59fbe835effd719a7b46a747e5fb4c6Image Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1736726400' |
| ENV APP_UID=1654 ASPNETCORE_HTTP_PORTS=8080 DOTNET_RUNNING_IN_CONTAINER=true |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libc6 libgcc-s1 libicu72 libssl3 libstdc++6 tzdata zlib1g && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c groupadd --gid=$APP_UID app && useradd -l --uid=$APP_UID --gid=$APP_UID --create-home app # buildkit |
| ENV DOTNET_VERSION=8.0.12 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
| ENV ASPNET_VERSION=8.0.12 |
| COPY /shared/Microsoft.AspNetCore.App /usr/share/dotnet/shared/Microsoft.AspNetCore.App # buildkit |
| ENV TZ=Asia/Shanghai |
| RUN /bin/sh -c ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # buildkit |
| RUN /bin/sh -c sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list.d/debian.sources # buildkit |
| RUN /bin/sh -c apt-get clean && apt-get update # buildkit |
| RUN /bin/sh -c apt-get install -y locales # buildkit |
| RUN /bin/sh -c localedef -c -f UTF-8 -i zh_CN zh_CN.utf8 # buildkit |
| ENV LANG=zh_CN.utf8 |
| WORKDIR /app |
| COPY /app/publish . # buildkit |
| CMD ["/bin/sh" "-c" "dotnet TVWelcomeServer.dll"] |