1
0
Fork 0
mirror of https://github.com/fiso64/slsk-batchdl.git synced 2024-12-22 06:22:41 +00:00
slsk-batchdl/Dockerfile

28 lines
No EOL
580 B
Docker

FROM ghcr.io/linuxserver/baseimage-alpine:3.20
ENV TZ=Etc/GMT
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN \
echo "**** install packages ****" && \
apk --no-cache add \
binutils-gold \
openssl \
zlib \
libstdc++ \
dotnet6-sdk \
aspnetcore6-runtime \
bash
ENV DOCKER_MODS=linuxserver/mods:universal-cron
COPY docker/root/ /
WORKDIR /app
COPY --chown=abc:abc . /app
RUN rm -rf /app/docker
RUN dotnet publish -c Release -r linux-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true