mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
14 lines
385 B
Docker
14 lines
385 B
Docker
FROM ghcr.io/featurebasedb/nodejs:0.0.1 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
|