hydrogen-docker/Dockerfile

15 lines
418 B
Docker

FROM docker.io/node:alpine as builder
RUN apk add --no-cache git python3 build-base ruby ruby-dev ruby-etc jq bash tar
RUN gem install fpm
COPY hydrogen-web/yarn.lock hydrogen-web/package.json /app/
WORKDIR /app
RUN yarn install
COPY ./hydrogen-web /app
COPY config.json /app/src/platform/web/assets/config.json
RUN yarn build
COPY deb/make_deb.sh deb/after-install.sh /deb/
WORKDIR /deb/target
RUN /deb/make_deb.sh