Upload 3 files
Browse files- Dockerfile +36 -0
- README.md +11 -10
- config.7z +3 -0
Dockerfile
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM ubuntu:22.04
|
2 |
+
EXPOSE 1242
|
3 |
+
|
4 |
+
RUN apt-get update && \
|
5 |
+
apt-get upgrade -y -qq && \
|
6 |
+
apt-get install -y -qq \
|
7 |
+
tzdata ca-certificates libc6 libgcc-s1 libicu70 libgssapi-krb5-2 \
|
8 |
+
libssl3 libstdc++6 zlib1g && \
|
9 |
+
apt-get install -y -qq git wget p7zip-full
|
10 |
+
ENV TZ=Asia/Shanghai
|
11 |
+
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
|
12 |
+
echo $TZ > /etc/timezone
|
13 |
+
RUN wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb && \
|
14 |
+
dpkg -i packages-microsoft-prod.deb && \
|
15 |
+
apt-get update && \
|
16 |
+
apt-get install -qq -y dotnet-runtime-6.0 fonts-wqy-zenhei fonts-wqy-microhei fonts-arphic-ukai fonts-arphic-uming python3.10 python3-pip git tzdata
|
17 |
+
|
18 |
+
WORKDIR /zmal
|
19 |
+
RUN git clone https://github.com/dmcallejo/ASFBot.git
|
20 |
+
RUN wget -q https://github.com/JustArchiNET/ArchiSteamFarm/releases/latest/download/ASF-linux-x64.zip && \
|
21 |
+
wget -q https://github.com/Citrinate/FreePackages/releases/latest/download/FreePackages.zip && \
|
22 |
+
wget -q https://github.com/CatPoweredPlugins/ASFAchievementManager/releases/latest/download/ASFAchievementManager.zip && \
|
23 |
+
wget -q https://github.com/chr233/ASFEnhance/releases/latest/download/ASFEnhance.zip
|
24 |
+
|
25 |
+
RUN 7z x ASF-linux-x64.zip -o/zmal/ && \
|
26 |
+
7z x FreePackages.zip -o/zmal/plugins/ && \
|
27 |
+
7z x ASFAchievementManager.zip -o/zmal/plugins/ASFAchievementManager/ && \
|
28 |
+
7z x ASFEnhance.zip -o/zmal/plugins/
|
29 |
+
|
30 |
+
COPY config.7z /zmal/
|
31 |
+
RUN --mount=type=secret,id=zzz,mode=0444,required=true \
|
32 |
+
7z x -p"$(cat /run/secrets/zzz)" config.7z -o/zmal/config/
|
33 |
+
|
34 |
+
RUN chmod -R 777 /zmal
|
35 |
+
|
36 |
+
CMD bash ArchiSteamFarm-Service.sh
|
README.md
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
-
---
|
2 |
-
title: Sss
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
-
sdk: docker
|
7 |
-
pinned: false
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
1 |
+
---
|
2 |
+
title: Sss
|
3 |
+
emoji: 😻
|
4 |
+
colorFrom: pink
|
5 |
+
colorTo: purple
|
6 |
+
sdk: docker
|
7 |
+
pinned: false
|
8 |
+
app_port: 6221
|
9 |
+
---
|
10 |
+
|
11 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
config.7z
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b36570e1e292585cc16e96cfd27832aa3b721a8123112259dca26baa9e04721a
|
3 |
+
size 226464
|