e
All checks were successful
deploy / deploy (push) Successful in 36s

This commit is contained in:
Lee 2024-01-16 15:33:50 +00:00
parent 5c2416e7ee
commit fe15f660e6
2 changed files with 2 additions and 1 deletions

@ -4,7 +4,7 @@ WORKDIR /usr/src/app
COPY package.json pnpm-lock.yaml ./ COPY package.json pnpm-lock.yaml ./
RUN pnpm install RUN pnpm install
COPY . . COPY . .
RUN pnpm run tsc RUN pnpm run build
ENV PORT=80 ENV PORT=80
EXPOSE 80 EXPOSE 80
CMD [ "pnpm", "start" ] CMD [ "pnpm", "start" ]

@ -6,6 +6,7 @@
"scripts": { "scripts": {
"start": "node dist/index.js", "start": "node dist/index.js",
"tsc": "tsc -w", "tsc": "tsc -w",
"build": "tsc",
"dev": "nodemon dist/index.js" "dev": "nodemon dist/index.js"
}, },
"author": "", "author": "",