Files
gotenberg/build/tests/Dockerfile
Julien Neuhart 7bfbda4490 huge refactoring
2019-07-23 13:57:18 +02:00

14 lines
336 B
Docker

FROM thecodingmachine/gotenberg:workspace
# Define our workding outside of $GOPATH (we're using go modules).
USER gotenberg
WORKDIR /gotenberg/tests
# Copy our code source.
COPY --chown=gotenberg:gotenberg . .
# Install module dependencies.
RUN go mod download &&\
go mod verify
ENTRYPOINT [ "build/tests/docker-entrypoint.sh" ]