Spaces:
Sleeping
Sleeping
iskoldt-X
commited on
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
FROM python:3.9-
|
2 |
-
RUN
|
3 |
COPY requirements.txt .
|
4 |
RUN pip install --user -r requirements.txt
|
5 |
|
6 |
-
FROM python:3.9-
|
7 |
MAINTAINER iskoldt
|
8 |
COPY --from=builder /root/.local /root/.local
|
9 |
ENV PATH=/root/.local/bin:$PATH
|
|
|
1 |
+
FROM python:3.9-alpine as builder
|
2 |
+
RUN apk add --no-cache build-base
|
3 |
COPY requirements.txt .
|
4 |
RUN pip install --user -r requirements.txt
|
5 |
|
6 |
+
FROM python:3.9-alpine
|
7 |
MAINTAINER iskoldt
|
8 |
COPY --from=builder /root/.local /root/.local
|
9 |
ENV PATH=/root/.local/bin:$PATH
|