diff --git a/Dockerfile b/Dockerfile index 1201a88..e4c9566 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash - \ && apt install -y nodejs \ && rm -rf /var/lib/apt/lists/* -WORKDIR /pdf-print-server +WORKDIR /printnatura COPY \ package.json \ @@ -39,5 +39,5 @@ RUN (cd /tmp && tar -xf /tmp/GoDEXdriver-1.1.6.tar.gz) \ RUN echo 'root:1234' | chpasswd -ENTRYPOINT ["/pdf-print-server/entrypoint.sh"] +ENTRYPOINT ["/printnatura/entrypoint.sh"] CMD ["node", "main.js"] \ No newline at end of file diff --git a/README.md b/README.md index 22947c2..338a381 100644 --- a/README.md +++ b/README.md @@ -13,18 +13,18 @@ git clone https://gitea.verdnatura.es/verdnatura/printnatura.git Build ``` -docker build -t printserver . +docker build -t printnatura . ``` ## How to use Exec ``` -docker run --name printserver -it --rm -v $PWD/config.local.yml:/pdf-print-server/config.local.yml:ro -p 80:631 printserver +docker run --name printnatura -it --rm -v $PWD/config.local.yml:/printnatura/config.local.yml:ro -p 80:631 printnatura ``` Bash ``` -docker exec -i -t printserver bash +docker exec -i -t printnatura bash ``` Has a graphical web interface (cupsd.conf) diff --git a/package-lock.json b/package-lock.json index 636b8fc..01ecd03 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "pdf-print-server", + "name": "printnatura", "version": "1.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "pdf-print-server", + "name": "printnatura", "version": "1.0.0", "license": "GPL-3.0", "dependencies": { diff --git a/package.json b/package.json index e9e8623..cbf374c 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "pdf-print-server", + "name": "printnatura", "version": "1.0.0", "author": "Verdnatura Levante SL", "description": "Print server",