2023-11-05 01:52:37 +01:00
|
|
|
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
|
2022-12-23 03:55:26 +01:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
2023-11-05 01:52:37 +01:00
|
|
|
RUN git clone https://github.com/Bitmessage/PyBitmessage.git
|
|
|
|
RUN cd PyBitmessage && python setup.py install
|
|
|
|
|
2022-12-23 03:55:26 +01:00
|
|
|
COPY package.json package.json
|
|
|
|
COPY package-lock.json package-lock.json
|
|
|
|
|
|
|
|
RUN npm install
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
CMD [ "node", "index.js" ]
|