Skip to content

Commit

Permalink
chown azurite files within the container
Browse files Browse the repository at this point in the history
  • Loading branch information
jwdb committed Dec 11, 2024
1 parent a1aab1c commit d652f15
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile.Windows
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,16 @@ WORKDIR c:\\azurite
# Default Workspace Volume
VOLUME [ "c:/data" ]

COPY package*.json LICENSE NOTICE.txt ./
COPY --chown=ContainerUser package*.json LICENSE NOTICE.txt ./

COPY --from=builder c:/azurite/dist/ dist/
COPY --chown=ContainerUser --from=builder c:/azurite/dist/ dist/

USER ContainerAdministrator
RUN npm pkg set scripts.prepare="echo no-prepare"

RUN npm ci --unsafe-perm

RUN npm install -g --unsafe-perm --loglevel verbose

USER ContainerUser
# Blob Storage Port
EXPOSE 10000
# Queue Storage Port
Expand Down

0 comments on commit d652f15

Please sign in to comment.