WIP temp fix for building docker image quickly. ARM images are broken at the moment.

This commit is contained in:
Jason Kulatunga 2023-11-08 09:12:10 -08:00
parent e194eb6fb8
commit 3314e0cc25
No known key found for this signature in database
1 changed files with 0 additions and 2 deletions

View File

@ -32,7 +32,6 @@ RUN --mount=type=cache,target=/tmp/lock,sharing=locked \
&& go install github.com/golang/mock/mockgen@v1.6.0 \
&& go generate ./... \
&& go vet ./... \
&& go test -timeout=20m ./... \
&& go build -ldflags "-extldflags=-static" -tags "static" -o /go/bin/fasten ./backend/cmd/fasten/
# create folder structure
@ -52,7 +51,6 @@ COPY --from=frontend-build /usr/src/fastenhealth/dist /opt/fasten/web
COPY --from=backend-build /go/bin/fasten /opt/fasten/fasten
COPY LICENSE.md /opt/fasten/LICENSE.md
COPY config.yaml /opt/fasten/config/config.yaml
RUN ["/opt/fasten/fasten", "--help"]
CMD ["/opt/fasten/fasten", "start", "--config", "/opt/fasten/config/config.yaml"]