Revert "Add Dockerfile example"

This reverts commit e890513e7ccd0e69f4d8a927e1c4bcdb37d98fab.
This commit is contained in:
Overtorment 2020-12-08 18:14:56 +00:00
parent e890513e7c
commit 5bce8181e3
3 changed files with 1 additions and 12 deletions

View File

@ -1 +0,0 @@
Dockerfile

View File

@ -1,9 +0,0 @@
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

View File

@ -6,8 +6,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "nodemon node_modules/.bin/babel-node index.js",
"build": "babel ./ -d dist --copy-files --ignore node_modules",
"start": "node dist/index.js",
"start": "node_modules/.bin/babel-node index.js",
"lint": "./node_modules/.bin/eslint ./ controllers/ class/ --fix"
},
"author": "Igor Korsakov <overtorment@gmail.com>",