Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile CHANGED
@@ -43,6 +43,13 @@ RUN pip install --upgrade pip && \
43
 
44
  COPY --chown=user . /app
45
 
 
 
 
 
 
 
 
46
  USER user
47
  # Set home to the user's home directory
48
  ENV HOME=/home/user \
 
43
 
44
  COPY --chown=user . /app
45
 
46
+ # Create static directory for frontend assets
47
+ RUN mkdir -p /app/static
48
+
49
+ # Download Bootstrap CSS and JS from CDN (minified for production)
50
+ RUN curl -o /app/static/bootstrap.min.css https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css && \
51
+ curl -o /app/static/bootstrap.bundle.min.js https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js
52
+
53
  USER user
54
  # Set home to the user's home directory
55
  ENV HOME=/home/user \