Skip to content

Commit

Permalink
fix(server): fix server dockerfile error; web merge conflict (#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed May 29, 2023
1 parent 8a06d44 commit 6d94fd2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ EXPOSE 3000
COPY . /app

# All commands in one line will reduce the size of the image
RUN npm install --omit=dev && npm run build && npm cache clean --force && rm -rf /app/src/*
RUN npm install @nestjs/cli@9.0.0 -g && npm install --omit=dev && npm run build && npm remove @nestjs/cli -g && npm cache clean --force && rm -rf /app/src/*

CMD [ "node", "dist/main" ]
6 changes: 0 additions & 6 deletions web/src/pages/app/functions/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,6 @@ const useFunctionStore = create<State>()(
state.isFetchButtonClicked = !state.isFetchButtonClicked;
});
},

setIsFetchButtonClicked: async () => {
set((state) => {
state.isFetchButtonClicked = !state.isFetchButtonClicked;
});
},
})),
),
);
Expand Down

0 comments on commit 6d94fd2

Please sign in to comment.