Commit e95ee2de authored by nanahira's avatar nanahira

formats

parent 5eb8b2f8
FROM node:buster-slim
RUN npm -g install typescript ts-node
RUN npm -g install typescript
RUN apt update && \
apt -y install build-essential python3 && \
......@@ -7,6 +7,7 @@ RUN apt update && \
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm ci
RUN npm ci && \
npm run build
COPY . ./
CMD ["ts-node", "./run.ts"]
CMD ["node", "./run.js"]
......@@ -4,7 +4,8 @@
"description": "I hate hisoutensoku",
"main": "run.js",
"scripts": {
"start": "ts-node run.ts"
"build": "tsc",
"start": "node run.js"
},
"repository": {
"type": "git",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment