mirror of
https://github.com/Av0idD4rk/firegex.git
synced 2026-10-24 11:29:24 +00:00
Use COPY instead of ADD
> Use ADD only when you need the additional capabilities it offers, but be mindful of potential security implications. https://www.docker.com/blog/docker-best-practices-understanding-the-differences-between-add-and-copy-instructions-in-dockerfiles/
This commit is contained in:
parent
ebe62acd8d
commit
2f96739908
@ -34,7 +34,7 @@ RUN g++ binsrc/nfproxy.cpp -o cpproxy -std=c++23 -O3 -lnetfilter_queue -lpython3
|
||||
#Building main conteiner
|
||||
FROM --platform=$TARGETARCH base AS final
|
||||
|
||||
ADD ./backend/requirements.txt /execute/requirements.txt
|
||||
COPY ./backend/requirements.txt /execute/requirements.txt
|
||||
COPY ./fgex-lib /execute/fgex-lib
|
||||
|
||||
RUN dnf -y update && dnf install -y gcc-c++ python3.13-devel uv git &&\
|
||||
|
||||
Loading…
Reference in New Issue
Block a user