18 lines
297 B
Docker
18 lines
297 B
Docker
FROM node:21
|
|
|
|
# Install netcat
|
|
RUN apt-get update && apt-get install -y netcat-traditional
|
|
|
|
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"]
|