Revert "Add Dockerfile example"
This reverts commit e890513e7ccd0e69f4d8a927e1c4bcdb37d98fab.
This commit is contained in:
parent
e890513e7c
commit
5bce8181e3
@ -1 +0,0 @@
|
|||||||
Dockerfile
|
|
@ -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
|
|
@ -6,8 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"dev": "nodemon node_modules/.bin/babel-node index.js",
|
"dev": "nodemon node_modules/.bin/babel-node index.js",
|
||||||
"build": "babel ./ -d dist --copy-files --ignore node_modules",
|
"start": "node_modules/.bin/babel-node index.js",
|
||||||
"start": "node dist/index.js",
|
|
||||||
"lint": "./node_modules/.bin/eslint ./ controllers/ class/ --fix"
|
"lint": "./node_modules/.bin/eslint ./ controllers/ class/ --fix"
|
||||||
},
|
},
|
||||||
"author": "Igor Korsakov <overtorment@gmail.com>",
|
"author": "Igor Korsakov <overtorment@gmail.com>",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user