This commit is contained in:
parent
5cb3969721
commit
e796db0006
1 changed files with 9 additions and 9 deletions
18
Dockerfile
18
Dockerfile
|
@ -1,17 +1,17 @@
|
|||
FROM python:3.13.1-slim-bullseye
|
||||
FROM python:3.13.2-slim-bookworm
|
||||
RUN apt-get update -qq && apt-get install -qq git --no-install-recommends && rm -rf /var/lib/apt/lists/*
|
||||
WORKDIR ./
|
||||
ARG PUID=1000
|
||||
ENV GROUP dockergroup
|
||||
ENV USER docker
|
||||
ENV HOMEDIR "/home/${USER}"
|
||||
ENV PATH ${HOMEDIR}/.local/bin:$PATH
|
||||
# ARG PUID=1000
|
||||
# ENV GROUP dockergroup
|
||||
# ENV USER docker
|
||||
# ENV HOMEDIR "/home/${USER}"
|
||||
# ENV PATH ${HOMEDIR}/.local/bin:$PATH
|
||||
ENV PLUGIN_PROFILE production
|
||||
RUN useradd -u "${PUID}" -m "${USER}"
|
||||
# RUN useradd -u "${PUID}" -m "${USER}"
|
||||
COPY script.sh /bin/
|
||||
RUN chmod +x /bin/script.sh
|
||||
USER ${USER}
|
||||
WORKDIR ${HOMEDIR}
|
||||
# USER ${USER}
|
||||
# WORKDIR ${HOMEDIR}
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN rm requirements.txt
|
||||
|
|
Loading…
Add table
Reference in a new issue