Skip to content

Commit 466cfb2

Browse files
committed
updated Dockerfile base image to ubi
Signed-off-by: Tullio Sebastiani <[email protected]>
1 parent b3a61e0 commit 466cfb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM python:3.9-slim-buster
3+
FROM registry.fedoraproject.org/f33/python3
44

55
WORKDIR /python-docker
66
ENV POETRY_NO_INTERACTION=1 \
77
POETRY_VIRTUALENVS_CREATE=false
88

9+
USER root
910
COPY pyproject.toml pyproject.toml
1011
COPY poetry.lock poetry.lock
11-
RUN apt-get update && apt-get install -y curl
1212
RUN pip3 install poetry
1313
RUN poetry install
1414

1515
COPY . .
1616

17-
CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0"]
17+
CMD [ "flask", "run", "--host=0.0.0.0"]

0 commit comments

Comments
 (0)