You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
394 B
Docker
12 lines
394 B
Docker
5 years ago
|
FROM node:10-alpine as themes
|
||
6 years ago
|
WORKDIR /app
|
||
5 years ago
|
COPY .babelrc .browserslistrc package.json webpack.config.js yarn.lock /app/
|
||
6 years ago
|
RUN yarn install
|
||
6 years ago
|
COPY resources/assets/ /app/resources/assets
|
||
6 years ago
|
RUN yarn build
|
||
|
|
||
6 years ago
|
FROM nginx:alpine
|
||
5 years ago
|
RUN mkdir -p /var/www/public/ && touch /var/www/public/index.php
|
||
5 years ago
|
COPY docker/nginx/nginx.conf /etc/nginx/nginx.conf
|
||
6 years ago
|
COPY --from=themes /app/public/assets /var/www/public/assets/
|