/
alt3rmann
/
graphql-engine
Обзор
Документация
Войти
/
alt3rmann
/
graphql-engine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
dc-agents/reference/Dockerfile
21 строка
536 B
Daniel Chambers
Replace Haskell DC Reference Agent with TypeScript DC Reference Agent in HSpec tests
23 июн 2022, 11:09
23 июн 2022, 11:09
d896cc4
Код
Авторство
О чём код?
FROM node:16-alpine WORKDIR /app COPY package.json . COPY package-lock.json . RUN npm ci COPY tsconfig.json . COPY src src # This is just to ensure everything compiles ahead of time. # We'll actually run using ts-node to ensure we get TypesScript # stack traces if something fails at runtime. RUN npm run typecheck EXPOSE 8100 # We don't bother doing typechecking when we run (only TS->JS transpiling) # because we checked it above already. This uses less memory at runtime. CMD [ "npm", "run", "--silent", "start-no-typecheck" ]