refactor: improve env loading

chore: add Dockerfile
This commit is contained in:
Jo 2023-11-26 00:25:28 +01:00
parent 162e256424
commit a19e1415f1
9 changed files with 148 additions and 4 deletions

View file

@ -1 +1,18 @@
# todo: Write Dockerfile
FROM node:21
# Install netcat
RUN apt-get update && apt-get install -y netcat
WORKDIR /usr/src/app
# Copy package.json and package-lock.json to the working directory
COPY package*.json ./
RUN npm install pnpm
RUN pnpm install
COPY . .
EXPOSE 4300
ENTRYPOINT ["./entrypoint.sh"]