feat: dockerfile
This commit is contained in:
+5
-1
@@ -22,12 +22,16 @@ RUN composer install \
|
|||||||
--no-dev \
|
--no-dev \
|
||||||
--no-interaction \
|
--no-interaction \
|
||||||
--prefer-dist \
|
--prefer-dist \
|
||||||
--optimize-autoloader
|
--optimize-autoloader \
|
||||||
|
--no-scripts
|
||||||
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
|
||||||
|
RUN composer dump-autoload --optimize
|
||||||
|
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user