Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
fix: Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
ViRb3 committed Apr 20, 2022
1 parent c3c3a83 commit 86500b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM golang:1.18.1-alpine AS builder
WORKDIR /src
COPY . .

RUN go mod download && \
RUN apk add --no-cache git && \
go mod download && \
CGO_ENABLED=0 go build -ldflags="-s -w" -o "authelia-basic-2fa"

FROM alpine:3.15.4
Expand Down

0 comments on commit 86500b6

Please sign in to comment.