diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,12 +1,16 @@ FROM golang:1.16-alpine AS builder WORKDIR /build COPY . . -RUN go build . +RUN apk --no-cache add make git + +# Use the 'build' make target when fiber branch is stable +RUN make debug FROM alpine:3.14 RUN apk --no-cache add imagemagick exiv2 ttf-opensans WORKDIR /app -COPY --from=builder /build/Server /app +COPY --from=builder /build/fchan /app COPY static/ /app/static/ +COPY views/ /app/views/ COPY databaseschema.psql /app -CMD ["/app/Server"] +CMD ["/app/fchan"] |