Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit 687e3bc

Browse files
author
Jonas Franz
committed
Make strapi directory owned by node user
Signed-off-by: Jonas Franz <[email protected]>
1 parent 3c05be4 commit 687e3bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

strapi/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ FROM strapi/base:${BASE_VERSION}
44
ARG STRAPI_VERSION
55
RUN yarn global add strapi@${STRAPI_VERSION}
66

7+
RUN mkdir /srv/app && chown 1000:1000 -R /srv/app
8+
79
WORKDIR /srv/app
810

911
VOLUME /srv/app

0 commit comments

Comments
 (0)