HirCoir commited on
Commit
c7fa5c6
1 Parent(s): 5887527

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -39,7 +39,11 @@ RUN dpkgArch="$(dpkg --print-architecture)" && \
39
  arm64) DOWNLOAD_URL=${DOWNLOAD_URL_BASE}piper_linux_aarch64.tar.gz ;; \
40
  *) echo "Unsupported architecture: ${dpkgArch}"; exit 1 ;; \
41
  esac && \
42
- curl -SL ${DOWNLOAD_URL} | tar -xzC ./
 
 
 
 
43
  RUN pip install flask
44
  COPY index.html templates/index.html
45
  COPY app.py app.py
 
39
  arm64) DOWNLOAD_URL=${DOWNLOAD_URL_BASE}piper_linux_aarch64.tar.gz ;; \
40
  *) echo "Unsupported architecture: ${dpkgArch}"; exit 1 ;; \
41
  esac && \
42
+ curl -SL ${DOWNLOAD_URL} | tar -xzC ./ && \
43
+ mv piper piper_temp && \
44
+ mv piper_temp/* . && \
45
+ rm -rf piper_temp piper_*.tar.gz
46
+
47
  RUN pip install flask
48
  COPY index.html templates/index.html
49
  COPY app.py app.py