Skip to content

Commit

Permalink
Allowing access to the model_files
Browse files Browse the repository at this point in the history
  • Loading branch information
SYusupov committed Sep 16, 2024
1 parent ef8d5a0 commit 80ab983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.9"

services:
server:
# build: .
Expand Down

0 comments on commit 80ab983

Please sign in to comment.