diff --git a/Dockerfile b/Dockerfile index ee2088d..9c5a656 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,6 +45,8 @@ ENV PYTHONPATH=/app # # Copy the source code into the container. # COPY ./app /app # loaded with containers COPY ./model_files /model_files +# Ensure that the model file is readable by all users +RUN chmod -R 755 /model_files # Create a non-root user called appuser RUN useradd -m appuser diff --git a/compose.yaml b/compose.yaml index 7027db7..b0f1177 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,5 +1,3 @@ -version: "3.9" - services: server: # build: .