Dockerize + CI

This commit is contained in:
Rik Berkelder 2021-04-18 01:13:57 +02:00
parent 4dbe543892
commit fc1e3a3bbb
2 changed files with 25 additions and 0 deletions

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM node:12
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
ADD . .
RUN npm run build
FROM php:7.4-apache
COPY --from=0 /usr/src/app/public/ /var/www/html/