chore: Adds lom with basic commands parsing.
This commit is contained in:
parent
7c1e26b150
commit
3a773e5b9b
10 changed files with 451 additions and 10 deletions
14
lom/Dockerfile
Normal file
14
lom/Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
|||
FROM node:20.11.1-bookworm
|
||||
LABEL org.opencontainers.image.source="https://github.com/greysoh/nextnet"
|
||||
WORKDIR /app/
|
||||
COPY src /app/src
|
||||
COPY tsconfig.json /app/
|
||||
COPY package.json /app/
|
||||
COPY package-lock.json /app/
|
||||
COPY docker-entrypoint.sh /app/
|
||||
RUN npm install --save-dev
|
||||
RUN npm run build
|
||||
RUN rm out/**/*.ts out/**/*.map
|
||||
RUN rm -rf src
|
||||
RUN npm prune --production
|
||||
ENTRYPOINT sh docker-entrypoint.sh
|
Loading…
Add table
Add a link
Reference in a new issue