Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
moatazeldebsy committed Mar 20, 2020
1 parent dba7dd2 commit b163795
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get -y install curl gnupg
RUN curl -sL https://deb.nodesource.com/setup_11.x | bash -
RUN apt-get -y install nodejs
RUN npm install npm@latest -g
RUN chmod +x /entrypoint.sh
RUN node -v
RUN npm -v
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash
set -ex

echo "Install and Running Appium Server as a Background process"

npm install -g appium
sudo npm install -g appium --unsafe-perm=true --allow-root
appium -v
appium &>/dev/null &

0 comments on commit b163795

Please sign in to comment.