Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinPower747 authored Aug 20, 2024
1 parent 8371291 commit 0424ad0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
FROM golang:1.21-bookworm as builder
ARG GIT_COMMIT
ARG GIT_BRANCH
ARG BUILD_DATE

WORKDIR /app

COPY go.* ./
Expand All @@ -13,6 +9,10 @@ COPY . ./
RUN make compile ENVIROMENT=production

FROM debian:bookworm-slim
ARG GIT_COMMIT
ARG GIT_BRANCH
ARG BUILD_DATE

RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
ca-certificates && \
rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 0424ad0

Please sign in to comment.