shiori/Dockerfile.e2e
Felipe Martin 8c35a6ba2f
test: add basic e2e tests (#816)
* 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
2024-10-12 13:24:56 +02:00

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"]