Update readme.md to include project overview, setup instructions, directory structure, and usage with Docker for Node + TypeScript project.
Some checks failed
ci / build-test-pack (push) Has been cancelled
Some checks failed
ci / build-test-pack (push) Has been cancelled
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json* tsconfig.json ./
|
||||
RUN npm install --no-audit --progress=false
|
||||
|
||||
COPY src ./src
|
||||
|
||||
RUN npm run build && npm pack
|
||||
|
||||
CMD ["node", "dist/index.js"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user