Skip to content

Commit

Permalink
Docker setup: fix CKAN storage dir permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
stsnel committed Jan 6, 2025
1 parent fc99079 commit 3e286e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/images/ckan/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ ENV CKAN_MSL_CORE_VERSION=development
ENV CKAN_MSL_UTIL_VERSION=development

# Create storage path
RUN mkdir -p $CKAN_STORAGE_PATH/webassets $CKAN_STORAGE_PATH/storage
RUN mkdir -p $CKAN_STORAGE_PATH/webassets $CKAN_STORAGE_PATH/storage && \
chown -R www-data:www-data $CKAN_STORAGE_PATH

# Build-time variables specified by docker-compose.yml / .env
ARG CKAN_SITE_URL
Expand Down

0 comments on commit 3e286e6

Please sign in to comment.