add lattice files back in

I think docker-build was failing not because those particular files
weren't there, but because the submodule wasn't being
fetched... giving that a try.
This commit is contained in:
Matthew Jaffee 2021-09-10 12:15:34 -05:00
parent 8edcf2868a
commit dceebd4337
2 changed files with 4 additions and 1 deletions

View file

@ -7,6 +7,9 @@ ARG GO_VERSION=latest
FROM moleculacorp/nodejs:latest as lattice-builder
WORKDIR /lattice
COPY lattice/package.json ./
COPY lattice/yarn.lock ./
RUN yarn install
COPY lattice ./

View file

@ -195,7 +195,7 @@ generate-proto-grpc: require-protoc require-protoc-gen-go
generate: generate-protoc generate-statik generate-stringer generate-pql
# Create Docker image from Dockerfile
docker: vendor
docker: vendor lattice
docker build \
--build-arg GO_VERSION=$(GO_VERSION) \
--tag pilosa:$(VERSION) .