Skip to content

Commit

Permalink
Hotfixing Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pstrobl96 committed Mar 3, 2024
1 parent 41d5456 commit cb941b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# syntax=docker/dockerfile:1

FROM golang:1.20.3-alpine AS builder
FROM golang:1.21-alpine AS builder

WORKDIR /app

COPY go.mod ./
COPY go.sum ./

COPY go.* ./
RUN go mod download

COPY . ./

COPY *.go ./

RUN go build -o /prusa_exporter
RUN go build -v -o /prusa_exporter

FROM alpine:latest

Expand Down

0 comments on commit cb941b2

Please sign in to comment.