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