refactor: improve env loading
chore: add Dockerfile
This commit is contained in:
parent
162e256424
commit
a19e1415f1
9 changed files with 148 additions and 4 deletions
19
Dockerfile
19
Dockerfile
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue