Skip to content

Commit

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

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

RUN npm i concurrently
RUN npm i stripe

COPY . .

RUN npx tsc

CMD [ "node", "dist/index.js" ]
CMD [ "npm", "run", "dev" ]

EXPOSE 7000

0 comments on commit e9f8eb9

Please sign in to comment.