ExpressTemplate/Dockerfile

18 lines
275 B
Docker
Raw Normal View History

FROM node:21
# Install netcat
2023-11-26 01:18:50 +01:00
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 ./
2023-11-26 01:21:01 +01:00
RUN npm install
COPY . .
EXPOSE 4300
ENTRYPOINT ["./entrypoint.sh"]