architojha commited on
Commit
b32f62e
·
1 Parent(s): 9e310d9
Files changed (1) hide show
  1. Dockerfile +7 -3
Dockerfile CHANGED
@@ -1,5 +1,8 @@
1
  FROM python:3.11.4
2
 
 
 
 
3
  WORKDIR /app
4
 
5
  COPY . /app/
@@ -7,14 +10,15 @@ COPY . /app/
7
  RUN mkdir -p /app/src/core/logs && chmod -R 777 /app/src/core/logs
8
 
9
  RUN apt-get update && \
10
- apt-get install -y \
11
- redis-server \
12
- && apt-get clean && rm -rf /var/lib/apt/lists/*
13
 
14
  RUN pip install --upgrade pip && \
15
  pip install uv && \
16
  uv pip install --system -r requirements.txt
17
 
 
 
18
  CMD ["python", "-m", "main"]
19
 
20
 
 
1
  FROM python:3.11.4
2
 
3
+ ENV HOME=/app
4
+ ENV MPLCONFIGDIR=/tmp/matplotlib
5
+
6
  WORKDIR /app
7
 
8
  COPY . /app/
 
10
  RUN mkdir -p /app/src/core/logs && chmod -R 777 /app/src/core/logs
11
 
12
  RUN apt-get update && \
13
+ apt-get install -y redis-server && \
14
+ apt-get clean && rm -rf /var/lib/apt/lists/*
 
15
 
16
  RUN pip install --upgrade pip && \
17
  pip install uv && \
18
  uv pip install --system -r requirements.txt
19
 
20
+ RUN git config --global user.email "[email protected]" || true
21
+
22
  CMD ["python", "-m", "main"]
23
 
24