mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-21 21:50:49 +02:00
🐳 fix: Add missing uploads
directory to Dockerfile (#9590)
This commit is contained in:
parent
133312fb40
commit
ecf9733bc1
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue