Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile addition #1

Open
naxels opened this issue May 1, 2021 · 1 comment
Open

Dockerfile addition #1

naxels opened this issue May 1, 2021 · 1 comment

Comments

@naxels
Copy link

naxels commented May 1, 2021

Hi,

Love the simplicity of the app and the simple REST API exposure
was able to get it working and getting feeds in no-time using Postman :)

A suggestion I would like to make is to add a Dockerfile, so people can run the app without needing Go/install etc
to get it working and trying it out.

Here is a sample script that works, however doesn't have Node, doesn't persist the SQLite DB, and doesn't automatically start the app when the container runs:

FROM golang

WORKDIR /go/src/app
COPY . .

RUN go get -d -v ./...
RUN go install -v ./...

EXPOSE 8080/tcp

# CMD ["go run arss --client client/public --headless"]

Thank you and keep up the good work!

@1ntEgr8
Copy link
Owner

1ntEgr8 commented May 9, 2021

Thank you for filing an issue!

I'm down to add a Dockerfile. I'll test the base script you've provided, and will make any modifications if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants