forked from tuhinpal/WhatsBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added animated sticker support & updated Dockerfile
- Added animated sticker support - Updated Dockerfile - Heroku build method changed
- Loading branch information
Showing
5 changed files
with
31 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
node_modules/ | ||
package-lock.json | ||
npm | ||
.eslintcache | ||
session.json | ||
.cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
FROM node:latest | ||
FROM ubuntu:latest | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y wget gnupg ca-certificates \ | ||
RUN apt update \ | ||
&& apt install -y wget gnupg ca-certificates \ | ||
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ | ||
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ | ||
&& apt-get update \ | ||
&& apt-get install -y google-chrome-stable \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& wget --quiet https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh -O /usr/sbin/wait-for-it.sh \ | ||
&& chmod +x /usr/sbin/wait-for-it.sh | ||
&& apt update \ | ||
&& apt install -y google-chrome-stable \ | ||
|
||
RUN apt install software-properties-common -y | ||
RUN add-apt-repository ppa:savoury1/ffmpeg4 | ||
RUN apt update | ||
RUN apt install ffmpeg -y | ||
RUN apt install npm -y | ||
|
||
WORKDIR /app | ||
COPY package.json /app | ||
RUN npm install | ||
COPY . /app | ||
CMD node main.js | ||
EXPOSE 8080 | ||
RUN npm install | ||
CMD ["npm", "start"] | ||
EXPOSE 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
build: | ||
docker: | ||
web: Dockerfile |