Browse Source

Add Docker setup

main
ABeltramo 4 months ago
committed by Cadence Ember
parent
commit
1b580ae0b6
No known key found for this signature in database GPG Key ID: BC1C2C61CF521B17
  1. 16
      .dockerignore
  2. 1
      .gitignore
  3. 14
      Dockerfile

16
.dockerignore

@ -0,0 +1,16 @@
# Editor crud files
*~
\#*#
.#*
.vscode
.idea
.git
# Auto-generated files
node_modules
# User configuration
/db
/config/config.js
Dockerfile

1
.gitignore

@ -3,6 +3,7 @@
\#*#
.#*
.vscode
.idea
# Auto-generated files
node_modules

14
Dockerfile

@ -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…
Cancel
Save