mirror of
https://github.com/go-shiori/shiori.git
synced 2025-09-22 21:06:28 +08:00
* basic e2e test * e2e ci * test typo * rm go.work * refactor things a bit * use current context for docker image * rm coverage.txt * ignore all coverage files * use package * unused const * simplify dockeringnore * made basic e2e test with cwd code * comments in compose files * fix go version file in e2e ci * experimental podman support * fixed ALPINE_VERSION arg source
14 lines
321 B
Text
14 lines
321 B
Text
ARG ALPINE_VERSION
|
|
ARG GOLANG_VERSION
|
|
|
|
FROM docker.io/golang:${GOLANG_VERSION}-alpine${ALPINE_VERSION}
|
|
|
|
WORKDIR /src/shiori
|
|
|
|
COPY . /src/shiori
|
|
|
|
RUN apk --update add git && \
|
|
go run main.go version # Using this to force go dep download by running the main command.
|
|
|
|
ENTRYPOINT ["go", "run", "main.go"]
|
|
CMD ["server"]
|