HirCoir commited on
Commit
5282ca7
1 Parent(s): 319fa3e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -22,6 +22,7 @@ COPY upload-onnx.py .
22
  COPY server.py /home/app/
23
  RUN python3 download-model.py
24
  RUN python3 -m piper_train.export_onnx model.ckpt ${MODELNAME}.onnx
 
25
  RUN python3 upload-onnx.py
26
  RUN mv ${MODELNAME}.onnx /home/app/${MODELNAME}.onnx
27
  RUN mv ${MODELNAME}.onnx.json /home/app/${MODELNAME}.onnx.json
 
22
  COPY server.py /home/app/
23
  RUN python3 download-model.py
24
  RUN python3 -m piper_train.export_onnx model.ckpt ${MODELNAME}.onnx
25
+ RUN rm -f model.ckpt
26
  RUN python3 upload-onnx.py
27
  RUN mv ${MODELNAME}.onnx /home/app/${MODELNAME}.onnx
28
  RUN mv ${MODELNAME}.onnx.json /home/app/${MODELNAME}.onnx.json