Skip to content
Snippets Groups Projects
Commit 9a188049 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Minor dockerfile improvements

parent 03e076c9
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,8 @@ RUN apk add --no-cache curl git gcc musl-dev
RUN curl https://glide.sh/get | sh
WORKDIR /go/src/app
COPY . .
COPY *.go .
COPY glide.* .
RUN glide install
RUN CGO_ENABLED=false go build -a app .
......@@ -18,6 +19,6 @@ RUN npm run build
FROM alpine:3.7
WORKDIR /
COPY --from=go_builder /go/src/app/app /app
COPY --from=go_builder /go/src/app/templates /templates
COPY templates /templates
COPY --from=asset_builder /app/assets /assets
CMD ["/app"]
\ No newline at end of file
ENTRYPOINT ["/app"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment