Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

34 dockerfile optimization #34

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docker/MonitorDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get install -y libgl1-mesa-glx libglib2.0-0 libsm6 libxrender1 libxext6 -y
RUN apt-get install iputils-ping netcat -y


# autodeploy requirements
COPY ./requirements.txt /app/requirements.txt
RUN python3 -m pip install -r /app/requirements.txt
Expand All @@ -20,7 +19,6 @@ RUN python3 -m pip install -r /app/requirements.txt
COPY $MODEL_REQ /app/$MODEL_REQ
RUN python3 -m pip install -r /app/$MODEL_REQ


ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV LANGUAGE=C.UTF-8
Expand Down
8 changes: 0 additions & 8 deletions docker/PredictDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ RUN apt-get update \
&& apt-get clean \
&& apt-get autoremove

# autodeploy requirements
COPY ./requirements.txt /app/requirements.txt
RUN python3 -m pip install -r /app/requirements.txt

# user requirements
COPY $MODEL_REQ /app/$MODEL_REQ
RUN python3 -m pip install -r /app/$MODEL_REQ

ENV TZ=Europe/Kiev
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

Expand Down