mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-27 12:48:01 +02:00
Testing docker builds using CI
This commit is contained in:
parent
7f4dafcde4
commit
a0b6d04858
3 changed files with 2 additions and 21 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue