-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
18 lines (15 loc) · 779 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ghcr.io/justarchinet/archisteamfarm:latest
ENV ASF_USER=asf
ENV ASPNETCORE_URLS=
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
ENV DOTNET_NOLOGO=true
RUN apt update && apt install -y curl debian-keyring debian-archive-keyring apt-transport-https libnss3-tools
RUN curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
RUN curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list
RUN apt update && apt install caddy && rm -rf /var/lib/apt/lists/*
EXPOSE 1242
WORKDIR /app
COPY Caddyfile /app/
COPY entrypoint.sh /app/
HEALTHCHECK CMD ["pidof", "-q", "ArchiSteamFarm"]
ENTRYPOINT ["/bin/bash", "/app/entrypoint.sh"]