mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Создание runtime папок вынесено в bootstrap.sh
This commit is contained in:
@@ -43,10 +43,8 @@ RUN rm -rf /root/.ssh
|
||||
# Наконец переносим все сорцы внутрь контейнера
|
||||
COPY . /var/www/html
|
||||
|
||||
RUN mkdir -p api/runtime api/web/assets console/runtime \
|
||||
&& chown www-data:www-data api/runtime api/web/assets console/runtime \
|
||||
# Билдим фронт
|
||||
&& cd frontend \
|
||||
# Билдим фронт
|
||||
RUN cd frontend \
|
||||
&& ln -s /var/www/frontend/node_modules $PWD/node_modules \
|
||||
&& npm run build:quiet \
|
||||
&& rm node_modules \
|
||||
|
Reference in New Issue
Block a user