-FROM node:14-bullseye-slim
+FROM node:16-bullseye-slim
# Install dependencies
RUN apt update \
VOLUME /config
COPY ./support/docker/production/entrypoint.sh /usr/local/bin/entrypoint.sh
-ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
+ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
# Expose API and RTMP
EXPOSE 9000 1935
# Run the application
-CMD ["npm", "start"]
+CMD [ "node", "dist/server" ]