mirror of
https://github.com/Xahau/Validation-Ledger-Tx-Store-to-xPOP.git
synced 2025-12-03 01:55:52 +00:00
Add Dockerfile
This commit is contained in:
21
Dockerfile
Normal file
21
Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
VOLUME /usr/src/app/store
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN apk add --no-cache --virtual .gyp \
|
||||
py3-pip \
|
||||
build-base \
|
||||
make \
|
||||
g++ \
|
||||
&& mkdir store && chmod 777 store && npm install \
|
||||
&& apk del .gyp
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD [ "node", "." ]
|
||||
Reference in New Issue
Block a user