# Uses the node base image with the latest LTS version FROM node:16.13.0 # Informs Docker that the container listens on the # specified network ports at runtime EXPOSE 4000 # Changes working directory to the new directory just created WORKDIR /app # Set node env ENV NODE_ENV=development ENV NEW_RELIC_NO_CONFIG_FILE=true # Command container will actually run when called CMD ["npx", "nodemon", "-w", "src", "--ext", "ts, graphql", "--exec", "TZ=Europe/Paris", "ts-node", "src/index.ts"]