FROM node:18-bullseye RUN apt-get update RUN apt-get install -yq --no-install-suggests --no-install-recommends \ build-essential libcap-dev libffi-dev \ libssl-dev python-all-dev python-is-python2 python-setuptools python-six WORKDIR /app RUN git clone https://github.com/Bitmessage/PyBitmessage.git RUN cd PyBitmessage && python setup.py install COPY package.json package.json COPY package-lock.json package-lock.json RUN npm install COPY . . CMD [ "node", "index.js" ]