backend/Dockerfile

14 lines
261 B
Text
Raw Permalink Normal View History

FROM docker.io/library/alpine:latest
2023-09-24 11:36:06 +00:00
# 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