Skip to content

Commit

Permalink
Fixed typescript build to run scripts from dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarengathomas committed Dec 30, 2024
1 parent 9c2055a commit 5804d00
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 1,550 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## -*- docker-image-name: "hemilabs/hemiconnector-metrics:1.0.0" -*-
FROM node:20.16.0-alpine3.20@sha256:eb8101caae9ac02229bd64c024919fe3d4504ff7f329da79ca60a04db08cef52
COPY package*.json ./

RUN mkdir -p /usr/src/app

WORKDIR /usr/src/app

COPY . .

RUN npm install
RUN npm install --production
RUN npm run build

CMD [ "npm", "run", "collect-metrics"]
Loading

0 comments on commit 5804d00

Please sign in to comment.