Coder Social home page Coder Social logo

Docker support about sclack HOT 3 OPEN

haskellcamargo avatar haskellcamargo commented on August 24, 2024 6
Docker support

from sclack.

Comments (3)

duynguyenhoang avatar duynguyenhoang commented on August 24, 2024

Thank @undernewmanagement , let me check it and create a PR.

from sclack.

Huge avatar Huge commented on August 24, 2024

Isn't CMD/ENTRYPOINT missing there?

from sclack.

billymoon avatar billymoon commented on August 24, 2024

I couldn't find any Dockerfile in this repo, and the fork linked in this ticket is giving me a 404. For my own use, I made one up...

FROM alpine

RUN apk add git python3 py-pip

RUN git clone https://github.com/haskellcamargo/sclack.git \
    && cd sclack \
    && pip3 install -r requirements.txt \
    && chmod +x ./app.py

ENTRYPOINT cd /sclack && ./app.py

and build it

docker build . -t billymoon/sclack

and pushed it

docker push billymoon/sclack:latest

and now I store a config in my host machine's ssh folder which I think is a fairly safe place to keep secrets, and I use this command to fire up sclack

docker run -it -v $HOME/.ssh/.sclack:/root/.sclack billymoon/sclack

It works great, so just thought I would share on this ticket in case it is useful.

Only caveat I have found so far, is that the browser feature would not work, as the running container does not have access to the host machine browser.

from sclack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.