squeaknode/docker/frontend/Dockerfile
Jonathan Zernik 6851466aed
Itest for squeaknodeclient (#3)
* Add itest for squeaknode client, not passing yet

* Got working itest with get wallet balance

* Change name of squeak node client class.
2020-03-01 00:15:24 -08:00

11 lines
262 B
Docker

FROM mhart/alpine-node:latest AS builder
WORKDIR /app
COPY ./frontend/squeakclient-frontend .
RUN npm install
RUN yarn run build
FROM mhart/alpine-node
RUN yarn global add serve
WORKDIR /app
COPY --from=builder /app/build .
CMD ["serve", "-p", "80", "-s", "."]