Fix include folder name, update dockerfile and compile the executable inside the docker container

This commit is contained in:
2025-03-19 10:26:16 +01:00
parent 5ec8a150cd
commit 67d8fa370d
13 changed files with 99 additions and 15 deletions
+6 -2
View File
@@ -2,6 +2,10 @@ FROM gcc:latest
WORKDIR /app
COPY bin/Bowling /app/
COPY rolls.txt /app/
COPY include/* /app/include/
COPY src/* /app/src/
CMD ["./Bowling"]
RUN g++ src/*.cpp -o Bowling
CMD ["./Bowling", "rolls.txt"]