diff --git a/internal-import-file/import-file-stix/Dockerfile b/internal-import-file/import-file-stix/Dockerfile index 9fdda79de5..12c0acb333 100644 --- a/internal-import-file/import-file-stix/Dockerfile +++ b/internal-import-file/import-file-stix/Dockerfile @@ -13,5 +13,6 @@ RUN apk --no-cache add git build-base libmagic libffi-dev libxml2-dev libxslt-de # Expose and entrypoint COPY entrypoint.sh / -RUN chmod +x /entrypoint.sh +RUN chmod +x /entrypoint.sh && chown -R :root /opt/opencti-connector-import-file-stix && chmod -R g+rwX /opt/opencti-connector-import-file-stix +WORKDIR /opt/opencti-connector-import-file-stix ENTRYPOINT ["/entrypoint.sh"]