samarthu78/s-cpp-compiler
0
1# Use a lightweight Node.js image2FROM node:18-slim3 4# Install the REAL C++ compiler (G++) - It's tiny and fast5RUN apt-get update && apt-get install -y g++6 7# Setup app8WORKDIR /app9COPY package.json .10RUN npm install11COPY . .12 13# Start server14CMD ["node", "server.js"]