needle / update_dockerfile.py
Leon4gr45's picture
Upload folder using huggingface_hub
fba3cba verified
Raw History Blame Contribute Delete
240 Bytes
with open('Dockerfile', 'r') as f:
content = f.read()
content = content.replace("COPY gateway.py start.sh /srv/", "COPY gateway.py models.py registry.py laya.py start.sh /srv/")
with open('Dockerfile', 'w') as f:
f.write(content)