Skip to content

Instantly share code, notes, and snippets.

@EkkoG
Created August 26, 2018 17:03
Show Gist options
  • Save EkkoG/7844a0b3c20f5240b0e40393d1618368 to your computer and use it in GitHub Desktop.
Save EkkoG/7844a0b3c20f5240b0e40393d1618368 to your computer and use it in GitHub Desktop.
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