2023-11-26 00:25:28 +01:00
|
|
|
FROM node:21
|
|
|
|
|
|
|
|
# Install netcat
|
2023-11-26 01:18:50 +01:00
|
|
|
RUN apt-get update && apt-get install -y netcat-traditional
|
2023-11-26 00:25:28 +01:00
|
|
|
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
|
|
|
|
# Copy package.json and package-lock.json to the working directory
|
|
|
|
COPY package*.json ./
|
|
|
|
|
2023-11-26 01:21:01 +01:00
|
|
|
RUN npm install
|
2023-11-26 00:25:28 +01:00
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
EXPOSE 4300
|
|
|
|
|
|
|
|
ENTRYPOINT ["./entrypoint.sh"]
|