Skip to content

Commit

Permalink
added key cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
deronsmith committed Sep 21, 2023
1 parent 13c5f2f commit d052c0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ ARG GDAL_VERSION=3.7.1

COPY environment.yml /src/environment.yml
RUN micromamba install -n $CONDA_ENV -f /src/environment.yml
RUN micromamba clean -p -t -l --trash -y

COPY . /src/

RUN chmod 755 /src/start_flask.sh
RUN micromamba clean --all --yes

COPY uwsgi.ini /etc/uwsgi/uwsgi.ini

Expand All @@ -37,9 +37,9 @@ RUN rm -R /opt/conda/pkgs/redis*
RUN rm -R /opt/conda/bin/redis*
RUN rm -R /opt/conda/pkgs/postgres*
RUN rm -R /opt/conda/bin/postgres*
RUN find /opt/conda/pkgs/future* -name "*.pem" -delete
RUN find /opt/conda/lib/python3.10/site-packages/future -name "*.pem" -delete
RUN find /opt/conda -name "*test.key" -delete
RUN find /opt/conda/pkgs/future* -name "*.pem" -delete || true
RUN find /opt/conda/lib/python3.10/site-packages/future -name "*.pem" -delete || true
RUN find /opt/conda -name "*test.key" -delete || true
# ------------------------- #

USER cyano
Expand Down

0 comments on commit d052c0e

Please sign in to comment.