dockerize and CI attempt 1

This commit is contained in:
Rik Berkelder 2025-02-04 20:01:30 +01:00
parent f9f29d6be7
commit 190570fa52
4 changed files with 71 additions and 2 deletions

10
Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM node:22
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/dist /var/www/html/