bharathmunakala commited on
Commit
0ecc685
·
verified ·
1 Parent(s): a85431d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile CHANGED
@@ -2,6 +2,13 @@ FROM python:3.9-slim
2
 
3
  WORKDIR /app
4
 
 
 
 
 
 
 
 
5
  RUN apt-get update && apt-get install -y \
6
  build-essential \
7
  curl \
 
2
 
3
  WORKDIR /app
4
 
5
+ # Set environment variables
6
+ ENV HOME=/app
7
+ ENV MPLCONFIGDIR=/tmp/matplotlib
8
+
9
+ # Create necessary writable dirs
10
+ RUN mkdir -p /app/.streamlit && chmod -R 777 /app
11
+
12
  RUN apt-get update && apt-get install -y \
13
  build-essential \
14
  curl \