FROM docker.io/library/alpine:latest # Set up environment for building RUN apk add nodejs npm # Copy files to build environment RUN mkdir /opt/little-lines-frontend COPY . /opt/little-lines-frontend # Start the app WORKDIR /opt/little-lines-frontend RUN npm i CMD npm run dev -- --host