Add Docker setup
This commit is contained in:
parent
ac3de4b4e6
commit
1b580ae0b6
|
@ -0,0 +1,16 @@
|
|||
# Editor crud files
|
||||
*~
|
||||
\#*#
|
||||
.#*
|
||||
.vscode
|
||||
.idea
|
||||
.git
|
||||
|
||||
# Auto-generated files
|
||||
node_modules
|
||||
|
||||
# User configuration
|
||||
/db
|
||||
/config/config.js
|
||||
|
||||
Dockerfile
|
|
@ -3,6 +3,7 @@
|
|||
\#*#
|
||||
.#*
|
||||
.vscode
|
||||
.idea
|
||||
|
||||
# Auto-generated files
|
||||
node_modules
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
FROM node:14-buster
|
||||
|
||||
WORKDIR /workdir
|
||||
|
||||
COPY package.json ./package.json
|
||||
COPY package-lock.json ./package-lock.json
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 10412
|
||||
|
||||
CMD npm start
|
Loading…
Reference in New Issue