This repository has been archived on 2024-07-10. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/Dockerfile

17 lines
337 B
Docker

FROM alpine
# 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
# Run Vite production build
WORKDIR /opt/little-lines-frontend
RUN yarn
CMD yarn dev
# Copy files to nginx path
#RUN cp -r dist/* icons /usr/share/nginx/html