๐พ Archived View for source.community โบ Fuwn โบ space โบ blob โบ main โบ Dockerfile captured on 2023-07-10 at 13:32:19. Gemini links have been rewritten to link to archived content
โฌ ๏ธ Previous capture (2023-01-29)
โก๏ธ Next capture (2024-02-05)
-=-=-=-=-=-=-
. ,-. ,-. . . ,-. ,-. ,-. ,-. ,-. ,-,-. ,-,-. . . ,-. . |- . . `-. | | | | | | |-' | | | | | | | | | | | | | | | | | `-' `-' `-^ ' `-' `-' :: `-' `-' ' ' ' ' ' ' `-^ ' ' ' `' `-| /| `-'
git clone https://source.community/Fuwn/space.git
View raw contents of /Dockerfile (main)
โโโโโฎ 1โ FROM golang:1.16.7-alpine3.14 AS build_base 2โ 3โ RUN apk add --no-cache git 4โ 5โ WORKDIR /tmp/space 6โ 7โ COPY go.mod . 8โ 9โ COPY go.sum . 10โ 11โ RUN go mod download 12โ 13โ COPY . . 14โ 15โ RUN go build -o ./out/space . 16โ 17โ FROM alpine:3.14 18โ 19โ RUN apk add ca-certificates 20โ 21โ COPY --from=build_base /tmp/space/out/space /app/space 22โ 23โ WORKDIR /app 24โ 25โ EXPOSE 1965 26โ 27โ CMD ["./space"] โโโโโฏ
ยท ยท ยท
ยฉ 2023 source.community