mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Completely remove frontend from this repository
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -1,17 +1,3 @@
|
||||
FROM node:9.11.2-alpine as frontend
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./frontend/package.json ./
|
||||
COPY ./frontend/scripts ./scripts
|
||||
COPY ./frontend/webpack-utils ./webpack-utils
|
||||
COPY ./frontend/yarn.lock ./
|
||||
RUN yarn build:install
|
||||
|
||||
COPY ./frontend .
|
||||
RUN yarn build:quiet
|
||||
|
||||
|
||||
FROM php:7.2.7-fpm-alpine3.7
|
||||
|
||||
# bash needed to support wait-for-it script
|
||||
@@ -71,8 +57,6 @@ COPY ./docker/php/*.ini /usr/local/etc/php/conf.d/
|
||||
COPY ./docker/php/docker-entrypoint.sh /usr/local/bin/
|
||||
COPY ./docker/cron/* /etc/cron.d/
|
||||
|
||||
COPY --from=frontend /app/dist /var/www/html/frontend/dist
|
||||
|
||||
COPY ./api /var/www/html/api/
|
||||
COPY ./common /var/www/html/common/
|
||||
COPY ./console /var/www/html/console/
|
||||
|
Reference in New Issue
Block a user