Spaces:
Runtime error
Runtime error
Synced repo using 'sync_with_huggingface' Github Action
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
FROM python:3.8
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
5 |
COPY ./requirements.txt /app/requirements.txt
|
6 |
-
COPY ./packages.txt /app/packages.txt
|
7 |
|
8 |
-
RUN apt-get update && xargs -r -a /app/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
9 |
RUN pip3 install --no-cache-dir -r /app/requirements.txt
|
10 |
|
11 |
# User
|
|
|
1 |
+
FROM python:3.8-slim-buster
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
5 |
COPY ./requirements.txt /app/requirements.txt
|
6 |
+
# COPY ./packages.txt /app/packages.txt
|
7 |
|
8 |
+
# RUN apt-get update && xargs -r -a /app/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
9 |
RUN pip3 install --no-cache-dir -r /app/requirements.txt
|
10 |
|
11 |
# User
|