Skip to content

Commit c5c28b0

Browse files
authored
Fixed docker image (#170)
1 parent f085961 commit c5c28b0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9.7-alpine3.13
1+
FROM python:3.9.17-alpine
22

33
RUN apk add --no-cache \
44
curl \
@@ -11,7 +11,10 @@ RUN apk add --no-cache \
1111
# For psycopg \
1212
postgresql-dev \
1313
# For mysql deps \
14-
mariadb-connector-c-dev
14+
mariadb-connector-c-dev \
15+
# For UI \
16+
ncurses \
17+
bash
1518

1619
RUN adduser --disabled-password fastapi_template
1720
RUN mkdir /projects /src
@@ -32,6 +35,9 @@ RUN rm -rfv /src
3235
RUN apk del curl
3336
USER fastapi_template
3437

38+
RUN git config --global user.name "Fastapi Template"
39+
RUN git config --global user.email "[email protected]"
40+
3541
VOLUME /projects
3642
WORKDIR /projects
3743

0 commit comments

Comments
 (0)