Closed markospacetech closed 2 years ago
Fixed dashboard Dockerfile with
FROM node:15-alpine as build-deps
WORKDIR /usr/src/app
ARG INSTALL_PYTHON=true
RUN if [ ${INSTALL_PYTHON} = true ]; then \
apk add python2 build-base \
;fi
COPY package.json ./
RUN yarn
COPY . ./
RUN yarn build
FROM node:alpine
WORKDIR /usr/src/app
COPY --from=build-deps /usr/src/app/build /usr/src/app/build
COPY --from=build-deps /usr/src/app/app.js /usr/src/app
COPY --from=build-deps /usr/src/app/server_package.json /usr/src/app
RUN mv server_package.json package.json \
&& npm install
EXPOSE 8080
CMD ["node", "app.js"]
Hi would love to experiment with this project but it seems the dashboard container is either outdated or missing? Has this repository been maintained at all?
Cheers