parent
5c2416e7ee
commit
fe15f660e6
@ -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": "",
|
||||||
|
Loading…
Reference in New Issue
Block a user