From 11adc10dedaaf07dbb790f61ad136fe6c500f28c Mon Sep 17 00:00:00 2001 From: Jairo Matos Da Rocha Date: Sat, 28 Sep 2024 00:45:30 -0300 Subject: [PATCH] seq --- docker/prod/Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile index ecc483e..1f5d6c2 100644 --- a/docker/prod/Dockerfile +++ b/docker/prod/Dockerfile @@ -6,19 +6,18 @@ ENV URL_TO_APPLICATION_GITHUB='https://github.com/lapig-ufg/tiles.git' \ LABEL maintainer="Jario Matos da Rocha " +WORKDIR /home/suporte RUN apt-get update && apt-get install --no-install-recommends -y curl build-essential git nano - RUN useradd -rm -d /home/suporte -s /bin/bash -g root -G sudo -u 1001 suporte -COPY ./pyproject.toml /home/suporte/pyproject.toml - +COPY . . RUN chown -R suporte:1001 /home/suporte USER suporte -WORKDIR /home/suporte -COPY . . + + RUN uv venv