Remove database

This commit is contained in:
Dave Gallant
2022-08-21 14:35:43 +00:00
parent e9c470a817
commit dcfc3231ab
9 changed files with 37 additions and 82 deletions

View File

@@ -2,19 +2,11 @@
FROM golang:1.18-alpine as go-build
# hadolint ignore=DL3018
RUN apk --no-cache add \
gcc \
musl-dev
COPY . /backend
WORKDIR /backend
RUN CGO_ENABLED=1 GOOS=linux \
go build -o server \
# Additional flags are necessary for sqlite support
-a -ldflags '-linkmode external -extldflags "-static"' .
RUN CGO_ENABLED=0 go build -o server
EXPOSE 8080