Skip to content

Commit 1df9b5f

Browse files
committed
Fixed dockerfile for templator.
Signed-off-by: Pavel Kirilin <win10@list.ru>
1 parent 38a04b1 commit 1df9b5f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎Dockerfile‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11.4-slim-bullseye
1+
FROM python:3.11.4-alpine
22

33
RUN apk add --no-cache \
44
curl \
@@ -11,8 +11,7 @@ RUN apk add --no-cache \
1111
# For psycopg \
1212
postgresql-dev \
1313
# For mysql deps \
14-
default-libmysqlclient-dev \
15-
pkg-config \
14+
mariadb-dev \
1615
# For UI \
1716
ncurses \
1817
bash
@@ -26,7 +25,7 @@ WORKDIR /src
2625

2726
ENV PATH ${PATH}:/home/fastapi_template/.local/bin
2827

29-
RUN pip install poetry==1.4.2
28+
RUN pip install poetry==1.5.1
3029

3130
COPY . /src/
3231
RUN pip install .

0 commit comments

Comments
 (0)