fix(extra): dockerfile errors and tsc fallback (#101)

This commit is contained in:
2023-09-01 18:35:21 +02:00
committed by GitHub
parent 1fc69b0a6e
commit 40829267c4
2 changed files with 5 additions and 3 deletions

View File

@@ -8,4 +8,4 @@ RUN npm install
COPY . . COPY . .
RUN node src/index.js CMD node src/index.js

View File

@@ -6,8 +6,10 @@ COPY package.json ./
RUN npm install RUN npm install
RUN npm install -D typescript
COPY . . COPY . .
RUN tsc --build RUN tsc --build || npx -p typescript tsc --build
RUN node dist/index.js CMD node dist/index.js