Skip to content

Commit

Permalink
create cache directory
Browse files Browse the repository at this point in the history
  • Loading branch information
g3gg0 committed Aug 12, 2024
1 parent d54236d commit 9974266
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion DockerfileAlpine
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ RUN mkdir -p /teddycloud/certs \
&& mkdir -p /teddycloud/data/content/default \
&& mkdir -p /teddycloud/data/library \
&& mkdir -p /teddycloud/data/firmware \
&& mkdir -p /teddycloud/data/www \
&& mkdir -p /teddycloud/data/www \
&& mkdir -p /teddycloud/data/cache \
&& mkdir -p /tmp

RUN ln -s /teddycloud /etc/teddycloud
Expand All @@ -47,6 +48,7 @@ VOLUME \
"/teddycloud/data/content" \
"/teddycloud/data/library" \
"/teddycloud/data/firmware" \
"/teddycloud/data/cache" \
"/teddycloud/certs" \
"/teddycloud/config"

Expand Down
4 changes: 3 additions & 1 deletion DockerfileDebian
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ RUN mkdir -p /teddycloud/certs \
&& mkdir -p /teddycloud/data/content/default \
&& mkdir -p /teddycloud/data/library \
&& mkdir -p /teddycloud/data/firmware \
&& mkdir -p /teddycloud/data/www \
&& mkdir -p /teddycloud/data/www \
&& mkdir -p /teddycloud/data/cache \
&& mkdir -p /tmp

RUN ln -s /teddycloud /etc/teddycloud
Expand All @@ -45,6 +46,7 @@ VOLUME \
"/teddycloud/data/content" \
"/teddycloud/data/library" \
"/teddycloud/data/firmware" \
"/teddycloud/data/cache" \
"/teddycloud/certs" \
"/teddycloud/config"

Expand Down
4 changes: 3 additions & 1 deletion DockerfileUbuntu
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ RUN mkdir -p /teddycloud/certs \
&& mkdir -p /teddycloud/data/content/default \
&& mkdir -p /teddycloud/data/library \
&& mkdir -p /teddycloud/data/firmware \
&& mkdir -p /teddycloud/data/www \
&& mkdir -p /teddycloud/data/www \
&& mkdir -p /teddycloud/data/cache \
&& mkdir -p /tmp

RUN ln -s /teddycloud /etc/teddycloud
Expand All @@ -45,6 +46,7 @@ VOLUME \
"/teddycloud/data/content" \
"/teddycloud/data/library" \
"/teddycloud/data/firmware" \
"/teddycloud/data/cache" \
"/teddycloud/certs" \
"/teddycloud/config"

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ endif
$(LINK_LO_FILE): $$(dir $$@)
$(file >$@, $(OBJECTS) $(OBJ_ONLY_FILES) )

workdirs: certs/server/ certs/client/ config/ data/www/ data/content/ data/library/ data/www/web/ data/firmware/
workdirs: certs/server/ certs/client/ config/ data/www/ data/content/ data/library/ data/www/web/ data/firmware/ data/cache/
$(QUIET)$(ECHO) '[ ${YELLOW}DIRS${NC} ] ${CYAN}$@${NC}'
$(QUIET)$(CP_R) $(subst /,$(SEP),$(CONTRIB_DIR)/data/www/*) $(subst /,$(SEP),data/www/)

Expand Down

0 comments on commit 9974266

Please sign in to comment.