Natthathida commited on
Commit
44e9a12
·
verified ·
1 Parent(s): e93c5c8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -13,9 +13,15 @@ FROM python:3.10-slim AS backend
13
  WORKDIR /app
14
 
15
  COPY ./requirements.txt .
 
 
 
 
16
  RUN pip install --no-cache-dir --upgrade pip
17
  RUN pip install --no-cache-dir --upgrade pip -r /app/requirements.txt
18
 
 
 
19
  EXPOSE 5000
20
 
21
  WORKDIR /app
 
13
  WORKDIR /app
14
 
15
  COPY ./requirements.txt .
16
+
17
+ RUN rm -rf /var/cache/apk/* && \
18
+ rm -rf /root/.cache
19
+
20
  RUN pip install --no-cache-dir --upgrade pip
21
  RUN pip install --no-cache-dir --upgrade pip -r /app/requirements.txt
22
 
23
+ RUN apk add --no-cache bash
24
+
25
  EXPOSE 5000
26
 
27
  WORKDIR /app