Adding continuous integration for website

This commit is contained in:
David Négrier 2020-06-01 16:12:48 +02:00
parent d20e85eba6
commit 0574cb7d33
3 changed files with 44 additions and 1 deletions

9
landing_page/Dockerfile Normal file
View file

@ -0,0 +1,9 @@
# we are rebuilding on each deploy to cope with the GAME_URL environment URL
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/