From 41dadd24bbb98076bba68c36cc8494fa8836d99c Mon Sep 17 00:00:00 2001 From: Josetronco Date: Thu, 17 Oct 2024 15:51:00 +0200 Subject: [PATCH] =?UTF-8?q?A=C3=B1adi=20Oat++=20a=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 768b8be..c1d9e17 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ FROM alpine:3.14 -RUN apk update && apk add --no-cache nodejs npm make g++ +RUN apk update && apk add --no-cache nodejs npm make g++ git + +RUN git clone https://github.com/oatpp/oatpp.git && cd oatpp/ && mkdir build && cd build && cmake .. && make install WORKDIR /app @@ -10,5 +12,4 @@ RUN npm install CMD ["npm", "run", "build"] -EXPOSE 8080 - +EXPOSE 8080