10 lines
169 B
Docker
10 lines
169 B
Docker
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/
|