Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Commit

Permalink
Fixoni
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzodeinegri committed Apr 11, 2020
1 parent c80cc58 commit a5d82ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# docker run --run -d -p 9999:9999 rrr/api
FROM node:12.16.2-alpine3.11
COPY . /usr/src/telegram
EXPOSE 9999
EXPOSE 3000
WORKDIR /usr/src/telegram
CMD ["sh", "start.sh"]
4 changes: 0 additions & 4 deletions start.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
#!/bin/sh

npm update

npm install --production

# TODO: add BOT_TOKEN

node main.js

echo "Telegram bot started..."

0 comments on commit a5d82ea

Please sign in to comment.