Skip to content

Commit

Permalink
Add simple Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nikodamn committed May 27, 2019
1 parent ebccf02 commit 3b70993
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:10-alpine

EXPOSE 4444

WORKDIR /

COPY package.json .

RUN npm install

COPY . .
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
- CONFIG=${CONFIG}
build:
context: .
dockerfile: Dockerfile-wdio
dockerfile: Dockerfile
# Run all suites (no --suite switch) using configured 4444 port
command: ./node_modules/.bin/wdio ./specs/config/remote-${CONFIG}.conf.js --port=4444
# Test results and screenshots are generated in runtime.
Expand Down

0 comments on commit 3b70993

Please sign in to comment.