From 7d8a5fed89acecc4363c3fe1709fd6af8af7df4a Mon Sep 17 00:00:00 2001 From: Thomas Montague Date: Mon, 10 Jun 2024 13:17:41 -0500 Subject: [PATCH] update docs. --- Dockerfile | 1 + README.md | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7d9793d..6d7ca66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,3 +5,4 @@ COPY requirements.txt /app/ RUN pip install --no-cache-dir --upgrade -r requirements.txt COPY . /app/ VOLUME /app/storage +ENTRYPOINT ["python3"] diff --git a/README.md b/README.md index f2fd2da..4c5b1b8 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,20 @@ to add emojis. ## Usage +### Download +``` +mkdir slackmojis +cd slackmojis +docker run --rm -it -v $PWD:/app/storage ghcr.io/montaguethomas/slackmojis:latest download.py +``` + +### Upload + +``` +cd slackmojis +docker run --rm -it -v $PWD:/app/storage ghcr.io/montaguethomas/slackmojis:latest upload.py +``` ## References