FROM node:22.16.0-alpine RUN apk add --no-cache \ libstdc++ \ && apk add --no-cache --virtual .build-deps-full \ bash \ binutils-gold \ curl \ g++ \ gcc \ gnupg \ libgcc \ linux-headers \ make \ python3 \ ccache \ xz # confirm installation RUN node -v RUN npm -v ENV MONGO_URL=mongodb://mongo:27017/get_my\ ROOT_URL=http://localhost \ PORT=3000 \ MAIL_URL=smtp://USERNAME:PASSWORD@HOST:PORT RUN mkdir -p /usr/src/get_my WORKDIR /usr/src/get_my COPY ../bundle/ /usr/src/get_my/ RUN cd /usr/src/get_my/programs/server/ \ && npm install EXPOSE 3000 CMD [ "node", "main.js" ]