Spaces:
Running
Running
Commit
·
d803542
1
Parent(s):
a48838b
Upload Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM python:3.
|
2 |
|
3 |
# Build dummy packages to skip installing them and their dependencies
|
4 |
RUN apt-get update \
|
@@ -12,7 +12,7 @@ RUN apt-get update \
|
|
12 |
&& equivs-build adwaita-icon-theme \
|
13 |
&& mv adwaita-icon-theme_*.deb /adwaita-icon-theme.deb
|
14 |
|
15 |
-
FROM python:3.
|
16 |
COPY --from=builder /*.deb /
|
17 |
WORKDIR /app
|
18 |
RUN echo "deb http://deb.debian.org/debian/ unstable main contrib non-free" >> /etc/apt/sources.list
|
|
|
1 |
+
FROM python:3.10-slim-bullseye as builder
|
2 |
|
3 |
# Build dummy packages to skip installing them and their dependencies
|
4 |
RUN apt-get update \
|
|
|
12 |
&& equivs-build adwaita-icon-theme \
|
13 |
&& mv adwaita-icon-theme_*.deb /adwaita-icon-theme.deb
|
14 |
|
15 |
+
FROM python:3.10-slim-bullseye
|
16 |
COPY --from=builder /*.deb /
|
17 |
WORKDIR /app
|
18 |
RUN echo "deb http://deb.debian.org/debian/ unstable main contrib non-free" >> /etc/apt/sources.list
|