Created
August 26, 2018 17:03
-
-
Save EkkoG/7844a0b3c20f5240b0e40393d1618368 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
FROM ubuntu:latest | |
# Install dependencies | |
RUN apt-get update && \ | |
apt-get -y install curl && \ | |
apt-get -y install zip unzip | |
# RUN apt-get -y install vim | |
RUN mkdir -p /app/ | |
VOLUME ["/app/"] | |
VOLUME ["/data"] | |
# Define working directory | |
WORKDIR /app/ | |
RUN curl -sf -o /app/bot.zip -L https://github.com/iovxw/rssbot/releases/download/v1.4.3/rssbot-v1.4.3-linux.zip && unzip /app/bot.zip | |
COPY /rssbot /bin | |
RUN rssbot /data/data.json 554700990:AAEWUJgnpiK7sdjo0gS5bCPbenYe4E1l7Cs | |
# RUN chmod +x /app/rssbot && /app/rssbot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment