Malackathon-backend/Dockerfile

16 lines
280 B
Docker
Raw Normal View History

2024-10-17 11:48:51 +02:00
FROM alpine:3.14
2024-10-17 15:51:00 +02:00
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
2024-10-17 11:48:51 +02:00
WORKDIR /app
COPY . .
RUN npm install
2024-10-17 12:45:32 +02:00
CMD ["npm", "run", "build"]
2024-10-17 11:48:51 +02:00
2024-10-17 15:51:00 +02:00
EXPOSE 8080