3ef1f0dc7b
API_URL is still accepted for BC compatibility of the self-hosted deployments. This will allow deploying on a single domain, using a reverse proxy that acts on the path. This however means that the config needs to be changed for all WorkAdventure deployments.
10 lines
212 B
Docker
10 lines
212 B
Docker
FROM thecodingmachine/nodejs:12-apache
|
|
|
|
COPY --chown=docker:docker . .
|
|
#RUN yarn install
|
|
|
|
#ENV NODE_ENV=production
|
|
#ENV STARTUP_COMMAND_1="yarn run build"
|
|
#ENV APACHE_DOCUMENT_ROOT=dist/
|
|
RUN sudo a2enmod headers
|