diff --git a/Dockerfile b/Dockerfile index c950ad4..51b6a0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,10 +16,10 @@ RUN echo "deb http://nginx.org/packages/debian/ ${NGINX_CODENAME} nginx" >> /etc nginx # copy project - LOCAL CODE -RUN mkdir -p /var/www/cezerin2-admin -ADD . /var/www/cezerin2-admin +RUN mkdir -p /var/www/vamshop-dashboard +ADD . /var/www/vamshop-dashboard -WORKDIR /var/www/cezerin2-admin +WORKDIR /var/www/vamshop-dashboard # Nginx config COPY nginx/nginx.conf /etc/nginx/ @@ -30,7 +30,7 @@ COPY docker-entrypoint.sh /usr/local/bin/ RUN chmod +x "/usr/local/bin/docker-entrypoint.sh" # build project -RUN cd /var/www/cezerin2-admin \ +RUN cd /var/www/vamshop-dashboard \ && npm install \ && npm cache clean --force \ && npm run build diff --git a/nginx/default.conf b/nginx/default.conf index ce72537..a262849 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -19,7 +19,7 @@ server { expires 1y; access_log off; log_not_found off; - root /var/www/cezerin2-admin/dist; + root /var/www/vamshop-dashboard/dist; location / { index index.html index.htm;