featurebase/lattice/Dockerfile
reesporte fdf7b4107a actually be able to generate-statik
these were the changes i had to make to be able to build lattice on my machine
2022-01-18 12:14:54 -06:00

14 lines
377 B
Docker

FROM moleculacorp/nodejs:latest as build
# make sure that your docker settings allow for at least like 4gb of ram, it
# takes a lot to build this
WORKDIR /lattice
COPY package.json ./
RUN apk update && apk upgrade yarn
RUN yarn install --network-timeout 100000
COPY . ./
RUN yarn build
FROM caddy
COPY --from=build /lattice/build /lattice
COPY Caddyfile /etc/caddy/Caddyfile