Skip to content

Commit

Permalink
chowned /app to appuser in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
arpanghosh8453 committed Feb 28, 2024
1 parent 5cbfcf1 commit 76fbc82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ WORKDIR /app
COPY ./Fitbit_Fetch.py /app
COPY ./requirements.txt /app

RUN groupadd --gid 1000 appuser && useradd --uid 1000 --gid appuser --shell /bin/bash --create-home appuser
RUN groupadd --gid 1000 appuser && useradd --uid 1000 --gid appuser --shell /bin/bash --create-home appuser && chown -R appuser:appuser /app
USER appuser

# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
Expand Down

0 comments on commit 76fbc82

Please sign in to comment.