Commit | Line | Data |
---|---|---|
bc7b5fc6 DN |
1 | # we are rebuilding on each deploy to cope with the API_URL environment URL |
2 | FROM thecodingmachine/nodejs:12-apache | |
3 | ||
d979636a | 4 | COPY --chown=docker:docker . . |
bc7b5fc6 DN |
5 | RUN yarn install |
6 | ||
7 | ENV NODE_ENV=production | |
8 | ENV STARTUP_COMMAND_1="yarn run build" | |
9 | ENV APACHE_DOCUMENT_ROOT=dist/ |