Skip to content

Commit 8ebecc6

Browse files
committed
Still need to create the ERDDAP_DATA directory
1 parent af670b9 commit 8ebecc6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ RUN \
1717
unzip /erddap.war -d ${CATALINA_HOME}/webapps/erddap/ && \
1818
rm /erddap.war && \
1919
sed -i 's#</Context>#<Resources cachingAllowed="true" cacheMaxSize="100000" />\n&#' ${CATALINA_HOME}/conf/context.xml && \
20-
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
20+
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
21+
mkdir -p ${ERDDAP_DATA}
2122

2223
# Java options
2324
COPY files/setenv.sh ${CATALINA_HOME}/bin/setenv.sh

0 commit comments

Comments
 (0)