Skip to content

Commit

Permalink
base images upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
drypa committed Mar 3, 2024
1 parent 1adf247 commit 9457194
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#build stage
FROM golang:alpine3.17 AS build
FROM golang:alpine3.19 AS build
COPY . /src
WORKDIR /src
RUN CGO_ENABLED=0 go build -o receipt_collector

#final
FROM alpine:3.17.3
FROM alpine:3.19.1
WORKDIR /app
COPY --from=build /src/receipt_collector /app/
ENTRYPOINT ./receipt_collector
Expand Down
4 changes: 2 additions & 2 deletions bot/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#build stage
FROM golang:alpine3.17 AS build
FROM golang:alpine3.19 AS build
COPY . /src
WORKDIR /src
RUN CGO_ENABLED=0 go build -o bot

#final
FROM alpine:3.17.3
FROM alpine:3.19.1
WORKDIR /app
COPY --from=build /src/bot /app/
ENTRYPOINT ./bot

0 comments on commit 9457194

Please sign in to comment.