renamed to printnatura

This commit is contained in:
Guillermo Bonet 2022-11-07 13:45:33 +01:00
parent 85baf93a75
commit af898533bd
4 changed files with 8 additions and 8 deletions

View File

@ -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"]

View File

@ -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)

4
package-lock.json generated
View File

@ -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": {

View File

@ -1,5 +1,5 @@
{
"name": "pdf-print-server",
"name": "printnatura",
"version": "1.0.0",
"author": "Verdnatura Levante SL",
"description": "Print server",