Remove old lines from dockerfile

This commit is contained in:
2026-02-19 21:50:23 -07:00
parent 95e2ddf103
commit 46ce64a5e7

View File

@@ -21,48 +21,15 @@ ENV TZ="America/Detroit"
WORKDIR /app WORKDIR /app
# Create a non-privileged user that the app will run under.
# See https://docs.docker.com/go/dockerfile-user-best-practices/
# ARG UID=10001
# RUN useradd appuser
# update package list # update package list
RUN apt-get update RUN apt-get update
# install wget
# install python, pipx # install python, pipx
RUN apt-get install -y wget python3 pipx RUN apt-get install -y wget python3 pipx
# install latest conda
# ENV PATH="/root/miniconda3/bin:${PATH}"
# ARG PATH="/root/miniconda3/bin:${PATH}"
# RUN arch=$(uname -m) && \
# if [ "$arch" = "x86_64" ]; then \
# MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh"; \
# elif [ "$arch" = "aarch64" ]; then \
# MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh"; \
# else \
# echo "Unsupported architecture: $arch"; \
# exit 1; \
# fi && \
# wget $MINICONDA_URL -O miniconda.sh && \
# mkdir -p /root/.conda && \
# bash miniconda.sh -b -p /root/miniconda3 && \
# rm -f miniconda.sh
# Copy the source code into the container. # Copy the source code into the container.
COPY . . COPY . .
# RUN conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main && \
# conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
# RUN conda env create -f ./environment.yml
# SHELL ["conda", "run", "-n", "very-bad", "/bin/bash", "-c"]
# Switch to the non-privileged user to run the application.
# install poetry via pipx # install poetry via pipx
RUN pipx install poetry && pipx ensurepath RUN pipx install poetry && pipx ensurepath
RUN ~/.local/bin/poetry install RUN ~/.local/bin/poetry install