更新数据目录配置

This commit is contained in:
2026-03-21 22:13:31 +08:00
parent 78c3644b2c
commit d09a0487ae
6 changed files with 58 additions and 8 deletions

View File

@@ -53,11 +53,13 @@ COPY --from=backend-build /app/web/build /app/web/build
# Create data and cache directories
RUN mkdir -p /app/data /app/cache
# Set environment variables (can be overridden at runtime)
ENV PORT=8080 \
DATA_DIR=/app/data \
CACHE_DIR=/app/cache
# Expose port
EXPOSE 8080
# Set environment variables
ENV PORT=8080
# Start server
CMD ["/app/bin/server"]