Dockerize + CI
This commit is contained in:
parent
4dbe543892
commit
fc1e3a3bbb
2 changed files with 25 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal 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/
|
Loading…
Add table
Add a link
Reference in a new issue