mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-05-18 12:02:53 +02:00
feat: usage of ESM modules imports (instead of CommonJS) (#14)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
FROM gcc:11.2.0
|
||||
COPY ./ ./
|
||||
RUN g++ solution.cpp --output=solution
|
||||
CMD ["./solution"]
|
||||
FROM gcc:11.3.0
|
||||
|
||||
WORKDIR /usr/app
|
||||
COPY ./ /usr/app
|
||||
RUN g++ ./*.cpp* -o solution.exe -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c++17 -pedantic -pedantic-errors
|
||||
|
||||
CMD ["./solution.exe"]
|
||||
|
Reference in New Issue
Block a user