Explorar o código

Merge branch 'feature/new-dockerfile' of https://github.com/NadavTasher/wekan

Lauri Ojansivu hai 7 meses
pai
achega
f76d648012
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      Dockerfile

+ 5 - 1
Dockerfile

@@ -215,7 +215,11 @@ RUN --mount=type=bind,from=downloads,source=node.tar.gz,target=node.tar.gz \
     # Remove the web.browser.legacy platform
     rm -r /wekan/programs/web.browser.legacy && \
     # Change ownership of wekan directory
-    chown wekan:wekan -R /wekan
+    chown wekan:wekan -R /wekan && \
+    # Create the data directory
+    mkdir /data && \
+    # Change ownership of data directory
+    chown wekan:root -R /data
 
 # Change to the wekan user
 USER wekan