Skip to content

Commit ae5b6cb

Browse files
authored
🐳 Update CatalogSync Dockerfile to prevent permission error (#84)
1 parent 5bbc5a9 commit ae5b6cb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile.catalogsync

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ COPY --from=build /app/publish .
4545
COPY docker/catalogsync-entrypoint.sh /app/entrypoint.sh
4646
RUN chmod 755 /app/entrypoint.sh
4747

48+
# Change ownership of /app to app user so it can write crontab file
49+
RUN chown -R app:app /app
50+
4851
# Run as non-root user for security
4952
USER app
5053

0 commit comments

Comments
 (0)