Browse Source

fix docker

pull/2/head
Muhammad Sulaiman Yusuf 2 years ago
parent
commit
c607dd9dc7
  1. 2
      Dockerfile
  2. 3
      src/views/SimproV2/Gantt/index.js

2
Dockerfile

@ -4,7 +4,7 @@ WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN apk add --no-cache git python2 make RUN apk add --no-cache --virtual git make python2 python3 py3-pip g++
RUN npm i -g npm@9.1.1 RUN npm i -g npm@9.1.1

3
src/views/SimproV2/Gantt/index.js

@ -76,7 +76,8 @@ const Gantt = (props) => {
const RenderGantt = () => ( const RenderGantt = () => (
<iframe <iframe
id="frame-gantt" id="frame-gantt"
src={`https://adw-gantt.ospro.id/edit-mode/index.html?base_url=${BASE_SIMPRO_LUMEN}&gantt_id=${versionGanttId}&proyek_id=${idProject}&token=${token}&ro=${ro}`} // src={`https://adw-gantt.ospro.id/edit-mode/index.html?base_url=${BASE_SIMPRO_LUMEN}&gantt_id=${versionGanttId}&proyek_id=${idProject}&token=${token}&ro=${ro}`}
src={`http://localhost:8446/edit-mode/index.html?base_url=${BASE_SIMPRO_LUMEN}&gantt_id=${versionGanttId}&proyek_id=${idProject}&token=${token}&ro=${ro}`}
style={{ style={{
width: '100%', width: '100%',
height: '95vh', height: '95vh',

Loading…
Cancel
Save