ExpressTemplate/Dockerfile
Jo 6380cd16c9
Some checks failed
Build and push Docker image / build-and-push (push) Has been cancelled
fix: build using npm, not pnpm
2023-11-26 01:21:01 +01:00

17 lines
275 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
COPY . .
EXPOSE 4300
ENTRYPOINT ["./entrypoint.sh"]