Skip to content

Commit

Permalink
Merge pull request #442 from traPtitech/refactor/docker-image
Browse files Browse the repository at this point in the history
♻️ use golang:1-alpine
  • Loading branch information
ras0q authored Aug 1, 2023
2 parents cb9fc32 + 8c5240b commit 26535d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# for production

FROM golang:1.20.5-alpine as server-build
FROM golang:1-alpine as server-build

WORKDIR /github.com/traPtitech/knoq

Expand All @@ -13,7 +13,7 @@ COPY ./ ./

RUN go build -o knoq

FROM alpine:3.18.2
FROM alpine:latest

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# for development (with live reload)

FROM golang:1.20.5-alpine
FROM golang:1-alpine
WORKDIR /srv/knoq

COPY go.mod ./
Expand Down

0 comments on commit 26535d3

Please sign in to comment.