webzepetoku commited on
Commit
731deef
·
verified ·
1 Parent(s): 0da74b6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -7
Dockerfile CHANGED
@@ -1,16 +1,22 @@
1
- FROM node:18-bullseye-slim
2
  WORKDIR /app
3
 
4
- # Install Python & Alat Unzip Native
5
- RUN apt-get update && apt-get install -y python3 python3-pip unzip && apt-get clean
 
 
 
6
 
7
- # Install mesin UABE (UnityPy)
8
- RUN pip3 install UnityPy
 
 
 
 
9
 
10
  RUN mkdir -p uploads && chmod 777 uploads
11
 
12
- # Salin semua file
13
- COPY package.json server.js uabe_packer.py dummy_lite.zepeto.zip ./
14
  RUN npm install
15
 
16
  EXPOSE 7860
 
1
+ FROM mcr.microsoft.com/dotnet/sdk:8.0
2
  WORKDIR /app
3
 
4
+ # Install Node.js, Python, dan alat Unzip
5
+ RUN apt-get update && apt-get install -y curl unzip python3 python3-pip && \
6
+ curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
7
+ apt-get install -y nodejs && \
8
+ apt-get clean
9
 
10
+ # Install UnityPy (Mesin UABE Python)
11
+ RUN pip3 install UnityPy --break-system-packages || pip3 install UnityPy
12
+
13
+ # Install ASSET-RIPPER Resmi secara Global
14
+ RUN dotnet tool install --global AssetRipper
15
+ ENV PATH="$PATH:/root/.dotnet/tools"
16
 
17
  RUN mkdir -p uploads && chmod 777 uploads
18
 
19
+ COPY package.json server.js surgery.py dummy_lite.zepeto.zip ./
 
20
  RUN npm install
21
 
22
  EXPOSE 7860