Add Dockerfile example

This commit is contained in:
David Parrish
2020-12-07 21:18:16 -05:00
committed by Overtorment
parent 7163416dfb
commit e890513e7c
3 changed files with 12 additions and 1 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM debian:bullseye-slim
RUN apt-get update && apt-get -y --no-install-recommends install npm=* nodejs=* \
build-essential=* \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
COPY . /lndhub
WORKDIR /lndhub
RUN npm i && npm run build