Skip to content

Commit

Permalink
Move chmod so nru has file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
maximusunc committed Jan 9, 2024
1 parent 06ad9d5 commit 99e1ba9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ LABEL org.opencontainers.image.source /github.com/TranslatorSRI/TestHarness

WORKDIR /app

# make sure all is writeable for the nru USER later on
RUN chmod -R 777 .

# set up requirements
COPY requirements.txt .
COPY requirements-runners.txt .
Expand All @@ -17,6 +14,9 @@ RUN pip install -r requirements-runners.txt
# set up source
COPY . .

# make sure all is writeable for the nru USER later on
RUN chmod -R 777 .

RUN pip install .

# switch to the non-root user (nru). defined in the base image
Expand Down

0 comments on commit 99e1ba9

Please sign in to comment.