Closed X-Gorn closed 1 year ago
I've tried to add dockerfile with this code:
# syntax=docker/dockerfile:1
FROM golang:1.19.8-alpine AS build
RUN apk --no-cache add gcc g++ make git libwebp-dev libwebp-tools ffmpeg
WORKDIR /go/src/watgbridge
COPY . /go/src/watgbridge
RUN go build
CMD ["./watgbridge"]
i'm running this on ubuntu vps, after doing the docker run xxxx
it runs fine, but after detaching/closing the vps it stop running. had no idea to fix this, hope you can fix it.
I think you have to do docker run -d xxxx
to make it run in background.
You dockerfile looks great, I will just add imagemagick in the package list and add to the repo.
Thanks
Hope you could add docker for this repository.