mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-27 12:48:01 +02:00
Update Dockerfile
This commit is contained in:
parent
6f4466a6fb
commit
60167e45a7
3 changed files with 16 additions and 5 deletions
|
@ -1,9 +1,16 @@
|
|||
FROM node:alpine AS build
|
||||
|
||||
ARG api
|
||||
ARG pipedapi
|
||||
|
||||
WORKDIR /app/
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN sed -i "s/hyperpipeapi.onrender.com/$api/g" src/scripts/fetch.js src/components/Prefs.vue
|
||||
|
||||
RUN sed -i "s/pipedapi.kavin.rocks/$pipedapi/g" src/scripts/fetch.js src/components/Prefs.vue
|
||||
|
||||
RUN npm install && \
|
||||
npm run build
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue