This commit is contained in:
Simoes Lukas
2026-02-11 14:59:27 +01:00
parent b2ebfe848e
commit b08e96be47
10 changed files with 159 additions and 29 deletions

12
DEV1.1/TP12/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM gcc:13 AS build
WORKDIR /app
COPY . .
RUN gcc -ansi -pedantic tests.c -o app
FROM debian:bookworm-slim
WORKDIR /app
COPY --from=build /app/app .
CMD ["./app"]
# sudo docker build -t app-c
# sudo docker run app-c