Skip to content

Commit

Permalink
update backend dockerfile, remove backend types and enums
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilShahi committed Aug 9, 2022
1 parent ae08ae9 commit cbc0c74
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 136 deletions.
43 changes: 0 additions & 43 deletions backend/src/enums.ts

This file was deleted.

90 changes: 0 additions & 90 deletions backend/src/types.ts

This file was deleted.

9 changes: 6 additions & 3 deletions deploy/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ FROM node:alpine

WORKDIR /usr/src/app

ADD ../../../backend .
ADD ../../../backend backend
ADD ../../../common common

WORKDIR /usr/src/app/backend
WORKDIR /usr/src/app/common
RUN yarn
RUN yarn build

WORKDIR /usr/src/app/backend
RUN yarn
EXPOSE 8080

RUN yarn build

CMD [ "yarn", "start" ]

0 comments on commit cbc0c74

Please sign in to comment.