Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoOMaia committed Nov 26, 2023
1 parent cadff08 commit ef30986
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Rest_API/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM python:latest

RUN pip install -r requirements.txt

WORKDIR /app
COPY . /app

Expand All @@ -20,6 +18,8 @@ RUN apt-get update && \
apt-get install -y wget && \
rm -rf /var/lib/apt/lists/

RUN pip install -r requirements.txt

USER appuser

EXPOSE 32196
Expand Down
4 changes: 2 additions & 2 deletions Train_model/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM python:latest

RUN pip install -r requirements.txt

WORKDIR /app
COPY . /app

Expand All @@ -16,6 +14,8 @@ RUN adduser \
--uid "${UID}" \
appuser

RUN pip install -r requirements.txt

USER root

EXPOSE 32208
Expand Down

0 comments on commit ef30986

Please sign in to comment.