Skip to content

Commit 7a1621a

Browse files
committed
fix(ignore): fix EACCES: permission denied, mkdir '/app/dist/external_converters'
1 parent 9e0c84b commit 7a1621a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ LABEL org.opencontainers.image.version=${VERSION}
4343

4444
COPY --from=deps /app/node_modules ./node_modules
4545
COPY dist ./dist
46+
# To prevent `Error: EACCES: permission denied, mkdir '/app/dist/external_converters'`
47+
# when running rootless.
48+
RUN chmod -R 777 ./dist
4649
COPY package.json LICENSE index.js data/configuration.example.yaml ./
4750

4851
COPY docker/docker-entrypoint.sh /usr/local/bin/

0 commit comments

Comments
 (0)