

fix: dockerfiles
@3d5e8974fae879272c6fb2c2c4408ab4e02f28ec
--- Dockerfile.cpu
+++ Dockerfile.cpu
... | ... | @@ -1,13 +1,13 @@ |
1 | 1 |
FROM ubuntu:22.04 |
2 |
-# hadolint ignore=DL3008,DL4006 |
|
2 |
+# hadolint ignore=DL3008,DL3015,DL4006 |
|
3 | 3 |
RUN apt-get update && \ |
4 |
- apt-get install -y --no-install-recommends curl software-properties-common && \ |
|
4 |
+ apt-get install -y curl software-properties-common && \ |
|
5 | 5 |
add-apt-repository ppa:deadsnakes/ppa && \ |
6 | 6 |
apt-get update && \ |
7 | 7 |
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3.11 python3.11-distutils && \ |
8 |
+ curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11 && \ |
|
8 | 9 |
apt-get clean && \ |
9 |
- rm -rf /var/lib/apt/lists/* && \ |
|
10 |
- curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11 |
|
10 |
+ rm -rf /var/lib/apt/lists/* |
|
11 | 11 |
RUN pip install --no-cache-dir poetry==1.8.2 |
12 | 12 |
WORKDIR /root/faster-whisper-server |
13 | 13 |
COPY pyproject.toml poetry.lock ./ |
--- Dockerfile.cuda
+++ Dockerfile.cuda
... | ... | @@ -1,13 +1,13 @@ |
1 | 1 |
FROM nvidia/cuda:12.2.2-cudnn8-runtime-ubuntu22.04 |
2 |
-# hadolint ignore=DL3008,DL4006 |
|
2 |
+# hadolint ignore=DL3008,DL3015,DL4006 |
|
3 | 3 |
RUN apt-get update && \ |
4 |
- apt-get install -y --no-install-recommends curl software-properties-common && \ |
|
4 |
+ apt-get install -y curl software-properties-common && \ |
|
5 | 5 |
add-apt-repository ppa:deadsnakes/ppa && \ |
6 | 6 |
apt-get update && \ |
7 | 7 |
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3.11 python3.11-distutils && \ |
8 |
+ curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11 && \ |
|
8 | 9 |
apt-get clean && \ |
9 |
- rm -rf /var/lib/apt/lists/* && \ |
|
10 |
- curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11 |
|
10 |
+ rm -rf /var/lib/apt/lists/* |
|
11 | 11 |
RUN pip install --no-cache-dir poetry==1.8.2 |
12 | 12 |
WORKDIR /root/faster-whisper-server |
13 | 13 |
COPY pyproject.toml poetry.lock ./ |
--- Taskfile.yaml
+++ Taskfile.yaml
... | ... | @@ -13,9 +13,9 @@ |
13 | 13 |
- Dockerfile.* |
14 | 14 |
- faster_whisper_server/*.py |
15 | 15 |
create-multi-arch-builder: docker buildx create --name main --driver=docker-container |
16 |
- build-and-push: |
|
16 |
+ docker-build: |
|
17 | 17 |
cmds: |
18 |
- - docker compose build --builder main --push |
|
18 |
+ - docker compose build --builder main {{.CLI_ARGS}} |
|
19 | 19 |
sources: |
20 | 20 |
- Dockerfile.* |
21 | 21 |
- faster_whisper_server/*.py |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?