Skip to content

Commit

Permalink
Merge pull request #10 from Bechtel-Innovation-Design-Center/#7-docker
Browse files Browse the repository at this point in the history
#7 docker
  • Loading branch information
pan261 authored Nov 22, 2021
2 parents b4ad32f + c870893 commit 5c94234
Show file tree
Hide file tree
Showing 9 changed files with 3,919 additions and 270 deletions.
16 changes: 16 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true
},
"extends": [
"standard"
],
"parserOptions": {
"ecmaVersion": 13
},
"rules": {
"semi": [2, "always"]
}
}
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM node:16
WORKDIR /ffs/
COPY package.json .
RUN npm install
COPY . .
22 changes: 22 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: "3.8"
services:
auth_server:
build:
context: .
env_file: ./.env
volumes:
- .:/ffs/
- /ffs/node_modules
ports:
- "3000:3000"
command: "node server.js"

task_runner_1:
build:
context: .
env_file: ./.env
volumes:
- .:/ffs/
- /ffs/node_modules
network_mode: host
command: "node taskRunner.js lathe"
Loading

0 comments on commit 5c94234

Please sign in to comment.