parent
5c2416e7ee
commit
fe15f660e6
@ -4,7 +4,7 @@ WORKDIR /usr/src/app
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
RUN pnpm install
|
||||
COPY . .
|
||||
RUN pnpm run tsc
|
||||
RUN pnpm run build
|
||||
ENV PORT=80
|
||||
EXPOSE 80
|
||||
CMD [ "pnpm", "start" ]
|
@ -6,6 +6,7 @@
|
||||
"scripts": {
|
||||
"start": "node dist/index.js",
|
||||
"tsc": "tsc -w",
|
||||
"build": "tsc",
|
||||
"dev": "nodemon dist/index.js"
|
||||
},
|
||||
"author": "",
|
||||
|
Loading…
Reference in New Issue
Block a user