Añadi Oat++ a Dockerfile

This commit is contained in:
Josetronco 2024-10-17 15:51:00 +02:00
parent 6db0784f9b
commit 41dadd24bb

View File

@ -1,6 +1,8 @@
FROM alpine:3.14 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 WORKDIR /app
@ -11,4 +13,3 @@ RUN npm install
CMD ["npm", "run", "build"] CMD ["npm", "run", "build"]
EXPOSE 8080 EXPOSE 8080