Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
base version update and py3-pip removed after all installs
  • Loading branch information
deronsmith authored Mar 20, 2024
1 parent 97c22ac commit a7a760b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mambaorg/micromamba:1.5.6-alpine3.19
FROM mambaorg/micromamba:1.5.7-alpine3.19

USER root
RUN addgroup -S cyano && adduser -S -G cyano cyano
Expand Down Expand Up @@ -38,6 +38,7 @@ RUN chown -R cyano:cyano /src
# Security Issues Mitigations
# ------------------------- #
RUN apk del gfortran
RUN apk del py3-pip
RUN rm -R /opt/conda/pkgs/redis*
#RUN rm -R /opt/conda/bin/redis*
RUN rm -R /opt/conda/pkgs/postgres*
Expand All @@ -57,4 +58,4 @@ USER cyano
#ENTRYPOINT ["tail", "-f", "/dev/null"]
#CMD ["sh", "start_flask.sh"]
ENV START_COMMAND="micromamba run -n $CONDA_ENV sh start_flask.sh"
CMD ${START_COMMAND}
CMD ${START_COMMAND}

0 comments on commit a7a760b

Please sign in to comment.