FROM docker.io/library/alpine:latest # Set up environment for building RUN apk add yarn nodejs # 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 yarn CMD yarn dev --host