Fix include folder name, update dockerfile and compile the executable inside the docker container
This commit is contained in:
+6
-2
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user