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.
backend/Dockerfile

14 lines
242 B
Docker

FROM nginx:alpine
# Set up environment for building
RUN apk add yarn nodejs
# Copy files to build environment
RUN mkdir /opt/ll-backend
COPY . /opt/ll-backend
# Run Vite production build
WORKDIR /opt/ll-backend
RUN yarn
CMD yarn run start