update
This commit is contained in:
10
Dockerfile
10
Dockerfile
@ -1,7 +1,7 @@
|
|||||||
FROM node:lts-alpine as build-stage
|
FROM node:lts-alpine as build-stage
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package*.json ./
|
# COPY package*.json ./
|
||||||
RUN npm install
|
# RUN npm install
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
@ -11,3 +11,9 @@ COPY --from=build-stage /app/dist /usr/share/nginx/html
|
|||||||
COPY --from=build-stage /app/nginx.conf /etc/nginx/nginx.conf
|
COPY --from=build-stage /app/nginx.conf /etc/nginx/nginx.conf
|
||||||
EXPOSE 32166
|
EXPOSE 32166
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|
||||||
|
# FROM nginx:stable-alpine
|
||||||
|
# COPY /dist /usr/share/nginx/html
|
||||||
|
# COPY /nginx.conf /etc/nginx/nginx.conf
|
||||||
|
# EXPOSE 32166
|
||||||
|
# CMD ["nginx", "-g", "daemon off;"]
|
@ -340,7 +340,7 @@ const filterData = (params: any) => {
|
|||||||
})
|
})
|
||||||
onResult((queryResult) => {
|
onResult((queryResult) => {
|
||||||
if (queryResult.data != undefined) {
|
if (queryResult.data != undefined) {
|
||||||
data.value = queryResult.data.daftarGangguanDialihkanKePoskoLain
|
data.value = queryResult.data.daftarGangguanDialihkanKePoskoLain
|
||||||
}
|
}
|
||||||
console.log(queryResult.data)
|
console.log(queryResult.data)
|
||||||
console.log(queryResult.loading)
|
console.log(queryResult.loading)
|
||||||
|
Reference in New Issue
Block a user