Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,16 @@ RUN go mod download
COPY . ./
ARG TARGETOS
ARG TARGETARCH
RUN GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o /app
RUN GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o /server

##
## Deploy
##
FROM alpine:3.19

WORKDIR /

COPY --from=builder /app /app
COPY --from=builder /server /server

COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
ENV TZ=America/Los_Angeles

ENTRYPOINT ["/app"]
ENTRYPOINT ["/server"]
8 changes: 3 additions & 5 deletions discord/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,16 @@ RUN go mod download
COPY . ./
ARG TARGETOS
ARG TARGETARCH
RUN GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o /app
RUN GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o /server

##
## Deploy
##
FROM alpine:3.19

WORKDIR /

COPY --from=builder /app /app
COPY --from=builder /server /server

COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
ENV TZ=America/Los_Angeles

ENTRYPOINT ["/app"]
ENTRYPOINT ["/server"]
8 changes: 3 additions & 5 deletions oauth/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,16 @@ RUN go mod download
COPY . ./
ARG TARGETOS
ARG TARGETARCH
RUN GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o /app
RUN GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o /server

##
## Deploy
##
FROM alpine:3.19

WORKDIR /

COPY --from=builder /app /app
COPY --from=builder /server /server

COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
ENV TZ=America/Los_Angeles

ENTRYPOINT ["/app"]
ENTRYPOINT ["/server"]
Loading