FROM node:14 RUN apt-get update && \ apt-get install -y nginx gettext-base && \ rm -rf /var/lib/apt/lists/* && \ chown -R 1000:1000 /etc/nginx && \ chown -R 1000:1000 /var/log/nginx && \ chown -R 1000:1000 /var/lib/nginx WORKDIR /app/transformer-autocomplete ADD . . RUN cd front && npm install && npx tsc && npm run build:prod RUN cd grunt && npm install && npx grunt RUN cd server && npm install && npx tsc ENTRYPOINT ["./entrypoint.sh"]