Files
isop-mirror/frontend/Dockerfile

20 lines
264 B
Docker

FROM node:lts
# Update the system
RUN apt update -y
RUN apt upgrade -y
# Copy the frontend project
COPY . /app
# Run NPM
WORKDIR /app
RUN npm install
# Build
RUN npm run build
STOPSIGNAL SIGTERM
# Run frontend web server
CMD ["node .output/server/index.mjs"]