GPTfree api commited on
Commit
8e13fef
·
verified ·
1 Parent(s): 5086182

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -32,12 +32,10 @@ RUN wget -q "https://services.gradle.org/distributions/gradle-7.6-bin.zip" -O gr
32
  rm gradle.zip
33
  ENV PATH $PATH:/opt/gradle-7.6/bin
34
 
35
- # プロジェクトをコピー
36
- COPY . /app
37
-
38
  # NetCipherのクローンとビルド
39
  RUN git clone https://github.com/guardianproject/NetCipher.git /netcipher && \
40
  cd /netcipher && \
 
41
  ./gradlew build && \
42
  mkdir -p /app/app/libs && \
43
  cp /netcipher/netcipher/build/libs/netcipher.jar /app/app/libs/
 
32
  rm gradle.zip
33
  ENV PATH $PATH:/opt/gradle-7.6/bin
34
 
 
 
 
35
  # NetCipherのクローンとビルド
36
  RUN git clone https://github.com/guardianproject/NetCipher.git /netcipher && \
37
  cd /netcipher && \
38
+ sed -i 's/gradle-4.4.1/gradle-7.6/g' gradle/wrapper/gradle-wrapper.properties && \
39
  ./gradlew build && \
40
  mkdir -p /app/app/libs && \
41
  cp /netcipher/netcipher/build/libs/netcipher.jar /app/app/libs/