FROM node:18-alpine # needed to compile translations RUN apk add --no-cache jq bash coreutils python3 EXPOSE 8080 WORKDIR /app/ COPY scripts/ ./scripts/ ADD package.json yarn.lock ./ RUN yarn install COPY . . CMD [ "yarn", "serve" ] HEALTHCHECK --start-period=30s --interval=10s --timeout=5s \ CMD wget --no-verbose --tries=1 --spider http://localhost:${VUE_PORT}/ || exit 1