File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- FROM python:3.11 -alpine as builder
1
+ FROM python:3.12 -alpine AS builder
2
2
RUN mkdir /install
3
3
WORKDIR /install
4
4
COPY requirements.txt /requirements.txt
5
5
RUN pip install --prefix="/install" -r /requirements.txt
6
6
7
7
8
- FROM python:3.11 -alpine as production
8
+ FROM python:3.12 -alpine AS production
9
9
RUN apk upgrade -U && apk add ffmpeg
10
10
COPY --from=builder /install /usr/local
11
11
COPY ./stream_transcriber /stream_transcriber
@@ -15,19 +15,19 @@ EXPOSE 8000
15
15
ENTRYPOINT ["python" ]
16
16
CMD ["-m" , "stream_transcriber.server" ]
17
17
18
- FROM production as base-dev
18
+ FROM production AS base-dev
19
19
RUN apk add --no-cache make
20
20
COPY ./requirements-dev.txt /requirements-dev.txt
21
21
RUN pip install -r /requirements-dev.txt
22
22
23
- FROM base-dev as lint
23
+ FROM base-dev AS lint
24
24
WORKDIR /
25
25
COPY ./Makefile /Makefile
26
26
COPY ./setup.cfg /setup.cfg
27
27
COPY ./stream_transcriber /stream_transcriber
28
28
ENTRYPOINT ["make" , "lint-local" ]
29
29
30
- FROM base-dev as unittest
30
+ FROM base-dev AS unittest
31
31
WORKDIR /
32
32
COPY ./stream_transcriber /stream_transcriber
33
33
COPY ./unittests /unittests
You can’t perform that action at this time.
0 commit comments