Testing docker builds using CI

This commit is contained in:
Shiny Nematoda 2022-12-13 05:51:31 +00:00
parent 7f4dafcde4
commit a0b6d04858
No known key found for this signature in database
GPG key ID: 6506D50F5613A42D
3 changed files with 2 additions and 21 deletions

View file

@ -1,16 +1,9 @@
FROM node:alpine AS build
ARG api
ARG pipedapi
WORKDIR /app/
COPY . .
RUN sed -i "s/hyperpipeapi.onrender.com/$api/g" index.html src/scripts/fetch.js
RUN sed -i "s/pipedapi.kavin.rocks/$pipedapi/g" index.html src/scripts/fetch.js
RUN npm install && \
npm run build