Compare commits
18 Commits
bukopin
...
devops-sta
Author | SHA1 | Date | |
---|---|---|---|
d1ab78d35a | |||
cd8cc52f18 | |||
4a5e15c55c | |||
dec43f819d | |||
e2cb987ded | |||
e8553ea12f | |||
4a7dfe6d52 | |||
5840ec682f | |||
9e39000483 | |||
35ce9e2484 | |||
6e83553e86 | |||
7a4ea8c528 | |||
c154ccc0f6 | |||
|
b2a0cc9cdc | ||
|
0a482dd766 | ||
|
8a8d7c0e74 | ||
|
8c02184bd9 | ||
|
07634ef503 |
10
Dockerfile
10
Dockerfile
|
@ -1,7 +1,9 @@
|
|||
FROM node:8-alpine
|
||||
RUN apk add --no-cache libc6-compat
|
||||
RUN apk add --no-cache git
|
||||
WORKDIR /app
|
||||
COPY package.json /app
|
||||
RUN yarn
|
||||
COPY package.json package-lock.json /app/
|
||||
RUN npm install
|
||||
COPY . /app
|
||||
CMD npm run watch
|
||||
EXPOSE 8080
|
||||
CMD npm run start
|
||||
EXPOSE 7700
|
|
@ -17,7 +17,7 @@ spec:
|
|||
- name: bukopin-redemption-client-react
|
||||
image: registry-harbor.app.bangun-kreatif.com/bukopin/bukopin-redemption-client-react:<VERSION>
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
- containerPort: 7700
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
|||
service:
|
||||
name: bukopin-redemption-client-react
|
||||
port:
|
||||
number: 8080
|
||||
number: 7700
|
||||
tls:
|
||||
- hosts:
|
||||
- "bukopin-fe.k3s.bangun-kreatif.com"
|
||||
|
|
|
@ -7,7 +7,7 @@ metadata:
|
|||
run: bukopin-redemption-client-react
|
||||
spec:
|
||||
ports:
|
||||
- port: 8080
|
||||
- port: 7700
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: bukopin-redemption-client-react
|
||||
|
|
18278
package-lock.json
generated
18278
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -73,7 +73,7 @@ export default class ComponentName extends React.Component {
|
|||
// description: 'Please check your email to continue'
|
||||
// });
|
||||
this.props.history.push({
|
||||
pathname:LINKS.VOUCHERS
|
||||
pathname:LINKS.DASHBOARD
|
||||
});
|
||||
this.setState({isLoading: false, isSuccess: true})
|
||||
// this
|
||||
|
|
|
@ -209,7 +209,7 @@ class RegisterPage extends React.Component {
|
|||
no_rekening : this.state.no_rekening
|
||||
}
|
||||
};
|
||||
this.props.history.push(LINKS.VOUCHERS);
|
||||
this.props.history.push(LINKS.DASHBOARD);
|
||||
// this.authStore.register(data).then(res => {
|
||||
// //message.success("Please check your email to confirm your account");this.props.history.push(LINKS.LOGIN);
|
||||
// setTimeout(() => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user