Skip to content

Commit

Permalink
add tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
tiendat1011 committed Jun 22, 2024
1 parent 7ce5985 commit 09a92f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ WORKDIR /src/app
COPY ./package*.json .

RUN npm install
RUN npm install -g typescript
RUN chmod a+x node_modules/.bin/tsc


COPY . .

RUN sudo npx tsc
RUN npx tsc

CMD [ "node", "dist/index.js" ]

Expand Down

0 comments on commit 09a92f3

Please sign in to comment.