Skip to content

Commit

Permalink
Fix portal git repo
Browse files Browse the repository at this point in the history
  • Loading branch information
johnf committed Nov 23, 2024
1 parent 6d6ef00 commit f69e712
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/oni.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ FROM node:lts AS builder

ARG ONI_API_CLIENTID
ARG ONI_API_CLIENTSECRET
ARG BUMP=5
ARG BUMP=6

WORKDIR /tmp
RUN git clone https://github.com/paradisec-archive/oni.git && cd oni && git switch paradisec
RUN git clone https://github.com/paradisec-archive/oni-ui.git && cd oni-ui && git switch paradisec

WORKDIR /tmp/oni/portal
WORKDIR /tmp/oni-ui/portal
COPY docker/oni.json configuration.json
RUN sed -i "s/ONI_API_CLIENTID/$ONI_API_CLIENTID/;s/ONI_API_CLIENTSECRET/$ONI_API_CLIENTSECRET/" configuration.json
RUN sed -i "s/publicPath: .*/publicPath: '\/oni',/" webpack-production.js
Expand Down

0 comments on commit f69e712

Please sign in to comment.