Skip to content

Commit

Permalink
Merge pull request #414 from hellofresh/hotfix/docker-go-modules
Browse files Browse the repository at this point in the history
PT-5117 Fixed docker image to work with go modules
  • Loading branch information
vgarvardt authored Aug 27, 2019
2 parents 5fafac7 + 2692744 commit 2bb9bbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.12-alpine AS builder

ARG VERSION='0.0.1-docker'

WORKDIR /go/src/github.com/hellofresh/janus
WORKDIR /janus

COPY . ./

Expand All @@ -15,7 +15,7 @@ RUN export JANUS_BUILD_ONLY_DEFAULT=1 && \

FROM alpine

COPY --from=builder /go/src/github.com/hellofresh/janus/dist/janus /
COPY --from=builder /janus/dist/janus /

RUN apk add --no-cache ca-certificates
RUN mkdir -p /etc/janus/apis && \
Expand Down

0 comments on commit 2bb9bbd

Please sign in to comment.