James Tombleson
333a4f5345
* ran go mod tity * updated formatting and moved to using some common errors * some common source errors * bumped go version * a bulk of the work has been completed to parse twitch videos/users * Added twitch config values * added common errors * moved the scheduler to its own package to get it out of main and also start adding tests * added a new err for invalid author images * Updated an error used * tests updated to avoid name duplication * new func to replace the cached source recor and updated getcontent to return collected posts * updated scheduler ref * moved to services/cron
10 lines
152 B
Docker
10 lines
152 B
Docker
FROM golang:1.18.2 as build
|
|
|
|
COPY . /app
|
|
WORKDIR /app
|
|
RUN go build .
|
|
|
|
FROM alpine
|
|
|
|
COPY --from=build /app/collector /app
|
|
ENTRYPOINT [ "/app/collector" ] |