diff options
author | Aoi Koizumi <novaburst@kalli.st> | 2022-03-14 11:07:30 -0300 |
---|---|---|
committer | Aoi Koizumi <novaburst@kalli.st> | 2022-03-14 11:07:30 -0300 |
commit | 7f62a3be71042366744463b97ff21f22d341d39e (patch) | |
tree | c11d982210114f48381deec53ff4a1bb05dc1820 /Dockerfile | |
parent | f66dbadf21c3509c94e355174be367ddfc20ac18 (diff) | |
download | zs-template-7f62a3be71042366744463b97ff21f22d341d39e.tar.gz |
Removed docker crap, modified Makefile to be POSIX compliant
Signed-off-by: Aoi Koizumi <novaburst@kalli.st>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 2b5da4b..0000000 --- a/Dockerfile +++ /dev/null @@ -1,34 +0,0 @@ -# Build -FROM golang:alpine AS build - -ENV CGO_ENABLED=0 - -RUN apk add --no-cache -U build-base git make - -RUN mkdir -p /src - -WORKDIR /src - -# Copy Makefile -COPY Makefile ./ - -# Install deps -RUN make deps - -# Copy content -COPY . . - -# Build the site -RUN make build - -# Runtime -FROM scratch - -WORKDIR / -VOLUME /data - -COPY --from=build /go/bin/static /static -COPY --from=build /src/.pub /data - -ENTRYPOINT ["/static"] -CMD ["-r", "/data"] |