🐳 fix: Add missing uploads directory to Dockerfile (#9590)

This commit is contained in:
Christian Geisler 2025-09-12 16:56:14 +02:00 committed by GitHub
parent 133312fb40
commit ecf9733bc1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,7 +30,7 @@ RUN \
# Allow mounting of these files, which have no default # Allow mounting of these files, which have no default
touch .env ; \ touch .env ; \
# Create directories for the volumes to inherit the correct permissions # Create directories for the volumes to inherit the correct permissions
mkdir -p /app/client/public/images /app/api/logs ; \ mkdir -p /app/client/public/images /app/api/logs /app/uploads ; \
npm config set fetch-retry-maxtimeout 600000 ; \ npm config set fetch-retry-maxtimeout 600000 ; \
npm config set fetch-retries 5 ; \ npm config set fetch-retries 5 ; \
npm config set fetch-retry-mintimeout 15000 ; \ npm config set fetch-retry-mintimeout 15000 ; \
@ -44,8 +44,6 @@ RUN \
npm prune --production; \ npm prune --production; \
npm cache clean --force npm cache clean --force
RUN mkdir -p /app/client/public/images /app/api/logs
# Node API setup # Node API setup
EXPOSE 3080 EXPOSE 3080
ENV HOST=0.0.0.0 ENV HOST=0.0.0.0