gabefromsimplebit commited on
Commit
fb73dd5
·
verified ·
1 Parent(s): 29f7702

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -1,17 +1,18 @@
1
  FROM python:3.9
2
 
3
- # 1. Install system dependencies
4
  RUN apt-get update && apt-get install -y \
5
  g++ \
6
  libssl-dev \
7
  git \
8
  zip \
 
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
- # 2. Compile zsign (The "No-Fail" method)
12
  RUN git clone https://github.com/zhlynn/zsign.git /opt/zsign && \
13
  cd /opt/zsign && \
14
- g++ $(find . -name "*.cpp") -lcrypto -O3 -o zsign && \
15
  cp zsign /usr/local/bin/zsign
16
 
17
  # 3. Setup App
 
1
  FROM python:3.9
2
 
3
+ # 1. Install system dependencies (added 'make')
4
  RUN apt-get update && apt-get install -y \
5
  g++ \
6
  libssl-dev \
7
  git \
8
  zip \
9
+ make \
10
  && rm -rf /var/lib/apt/lists/*
11
 
12
+ # 2. Build zsign using the official Makefile
13
  RUN git clone https://github.com/zhlynn/zsign.git /opt/zsign && \
14
  cd /opt/zsign && \
15
+ make && \
16
  cp zsign /usr/local/bin/zsign
17
 
18
  # 3. Setup App