mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 00:22:14 +01:00
16 lines
387 B
Docker
16 lines
387 B
Docker
FROM thecodingmachine/gotenberg:workspace
|
|
|
|
# Define our workding outside of $GOPATH (we're using go modules).
|
|
USER gotenberg
|
|
WORKDIR /gotenberg/tests
|
|
|
|
# Install module dependencies.
|
|
COPY --chown=gotenberg:gotenberg go.mod go.sum ./
|
|
|
|
RUN go mod download &&\
|
|
go mod verify
|
|
|
|
# Copy our code source.
|
|
COPY --chown=gotenberg:gotenberg . .
|
|
|
|
ENTRYPOINT [ "build/tests/docker-entrypoint.sh" ] |