This commit is contained in:
@@ -2,7 +2,7 @@ FROM python:3.13-slim
|
|||||||
WORKDIR /home/backend
|
WORKDIR /home/backend
|
||||||
COPY ../ /home/backend
|
COPY ../ /home/backend
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
# # curl \
|
curl \
|
||||||
# # gnupg \
|
# # gnupg \
|
||||||
# # git \
|
# # git \
|
||||||
# # build-essential \
|
# # build-essential \
|
||||||
@@ -12,6 +12,12 @@ RUN apt-get update && apt-get install -y \
|
|||||||
# g++ \
|
# g++ \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg \
|
||||||
|
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" \
|
||||||
|
> /etc/apt/sources.list.d/docker.list \
|
||||||
|
&& apt-get update \
|
||||||
|
&& apt-get install -y docker-ce-cli docker-compose-plugin
|
||||||
|
|
||||||
RUN python -m pip install --upgrade pip \
|
RUN python -m pip install --upgrade pip \
|
||||||
&& python -m pip install -r requirements.txt
|
&& python -m pip install -r requirements.txt
|
||||||
RUN chmod +x ./docker/start.sh
|
RUN chmod +x ./docker/start.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user