Skip to content

Commit 849b33a

Browse files
authored
Update docker.html
1 parent c412452 commit 849b33a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

docker.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,24 +82,19 @@ <h2>1. Create the Dockerfile</h2>
8282

8383
ENV DEBIAN_FRONTEND=noninteractive
8484

85-
# Sistema base + herramientas
8685
RUN apt-get update && apt-get install -y --no-install-recommends \
8786
python3 python3-pip tmux git wget ca-certificates sudo && \
8887
apt-get clean && rm -rf /var/lib/apt/lists/*
8988

90-
# Clonamos el framework
9189
WORKDIR /opt
9290
RUN git clone https://github.com/CoreSecFrame/CoreSecFrame.git coresecframe
9391
WORKDIR /opt/coresecframe
9492

95-
# Forzamos la instalación de dependencias a nivel sistema
9693
RUN pip3 install --break-system-packages --upgrade pip
9794
RUN pip3 install --break-system-packages -r requirements.txt
9895

99-
# Creamos alias
10096
RUN ln -s /opt/coresecframe/main.py /usr/local/bin/coresecframe && chmod +x /usr/local/bin/coresecframe
10197

102-
# Entrypoint por defecto
10398
CMD ["coresecframe"]
10499

105100
</code></pre>

0 commit comments

Comments
 (0)