1 # we are rebuilding on each deploy to cope with the API_URL environment URL
2 FROM thecodingmachine/nodejs:12-apache
4 COPY --chown=docker:docker . .
7 ENV NODE_ENV=production
8 ENV STARTUP_COMMAND_1="yarn run build"
9 ENV APACHE_DOCUMENT_ROOT=dist/