-
-
Save skrzyneckik/1fb5f25dbf939f791fa5ad7e92a8549c to your computer and use it in GitHub Desktop.
docker for slack-export-viewer
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
docker run -d -p 5000:5000 cmarks/slask-export-viewer -e ZIPFILEPATH=path/to/export/file.zip |
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 python:3.8 | |
MAINTAINER Chris Marks | |
ENV HOST=0.0.0.0 | |
ENV PORT=5000 | |
WORKDIR /app | |
EXPOSE ${PORT} | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
RUN groupadd -g 999 appuser && \ | |
useradd -r -u 999 -g appuser appuser | |
USER appuser | |
CMD slack-export-viewer --no-browser -I ${HOST} -p ${PORT} -z ${ZIPFILEPATH} |
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
MyApp | |
slack-export-viewer==1.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment