From eb35a99c3ee739d11ac4cd31053b8451e97b6d95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Santos?= Date: Fri, 30 Jan 2026 11:02:01 +0000 Subject: [PATCH] Added chmod --- Dockerfile.fastapi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile.fastapi b/Dockerfile.fastapi index 773ee1a..68f0542 100644 --- a/Dockerfile.fastapi +++ b/Dockerfile.fastapi @@ -9,10 +9,9 @@ RUN pip install --no-cache-dir -r requirements_prod.txt #RUN apt update && apt install ffmpeg -y #COPY server/py/fastapi_server/ ./ -COPY ./server/py/fastapi_server/*.py ./ - +COPY --chmod=755 ./server/py/fastapi_server/*.py ./ # Copy the entrypoint to root -COPY ./server/py/fastapi_server/entrypoint.sh / +COPY --chmod=755 ./server/py/fastapi_server/entrypoint.sh / ENV PORT=8000 ENV HOST=0.0.0.0