Skip to content

Commit 0096a3e

Browse files
Update dockerfiles/pytorch/Dockerfile
Co-authored-by: Philipp Schmid <[email protected]>
1 parent 0b93a74 commit 0096a3e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dockerfiles/pytorch/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ COPY src/huggingface_inference_toolkit huggingface_inference_toolkit
4343
COPY src/huggingface_inference_toolkit/webservice_starlette.py webservice_starlette.py
4444

4545
# copy entrypoint and change permissions
46-
COPY scripts/entrypoint.sh entrypoint.sh
47-
RUN chmod +x entrypoint.sh
46+
COPY --chmod=0755 scripts/entrypoint.sh entrypoint.sh
4847

4948
ENTRYPOINT ["bash", "-c", "./entrypoint.sh"]

0 commit comments

Comments
 (0)