chore: Adds lom with basic commands parsing.

This commit is contained in:
greysoh 2024-05-06 11:31:51 -04:00
parent 7c1e26b150
commit 3a773e5b9b
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
10 changed files with 451 additions and 10 deletions

14
lom/Dockerfile Normal file
View 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