Skip to content

Commit

Permalink
fixing permission issue with docker
Browse files Browse the repository at this point in the history
  • Loading branch information
orangecoding committed Jan 26, 2024
1 parent 50b3fde commit 172c039
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ FROM node:16-alpine
COPY --from=builder --chown=1000:1000 /fredy /fredy
RUN mkdir /db /conf && \
chown 1000:1000 /db /conf && \
chmod 777 -R /db/ && \
ln -s /db /fredy/db && ln -s /conf /fredy/conf
EXPOSE 9998
USER 1000
Expand Down

0 comments on commit 172c039

Please sign in to comment.