Compare commits
3 Commits
531732c524
...
1e51718b04
Author | SHA1 | Date | |
---|---|---|---|
1e51718b04 | |||
aa141a8f22 | |||
2e69b2e4cf |
16
Dockerfile
16
Dockerfile
@ -1,11 +1,17 @@
|
||||
FROM gcc:latest
|
||||
|
||||
RUN g++ src/*.cpp -o Bowling
|
||||
FROM gcc:latest AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY include/* /app/include/
|
||||
COPY src/* /app/src/
|
||||
|
||||
RUN g++ src/*.cpp -o Bowling
|
||||
|
||||
FROM debian:sid-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=build /app/Bowling Bowling
|
||||
COPY rolls.txt /app/
|
||||
|
||||
#RUN g++ src/*.cpp -o Bowling
|
||||
|
||||
CMD ["./Bowling", "rolls.txt"]
|
||||
|
Loading…
Reference in New Issue
Block a user