Browse Source

Don't use go mod download in docker buidl

pull/437/head
James Mills 1 month ago
parent
commit
9a107e5464
Signed by: prologic GPG Key ID: AC4C014F1440EBD6
  1. 7
      Dockerfile

7
Dockerfile

@ -10,14 +10,13 @@ WORKDIR /src
# Copy Makefile
COPY Makefile ./
# Install deps
RUN make deps
# Copy go.mod and go.sum and install and cache dependencies
COPY go.mod .
COPY go.sum .
# Install deps
RUN make deps
RUN go mod download
# Copy static assets
COPY ./internal/static/css/* ./internal/static/css/
COPY ./internal/static/img/* ./internal/static/img/

Loading…
Cancel
Save