dont watch for prod env

This commit is contained in:
Jurgis Sakalauskas
2023-11-25 10:54:45 +02:00
parent 995ad4c28f
commit cf9da2d4f7
7 changed files with 28 additions and 10 deletions
+1 -8
View File
@@ -1,15 +1,8 @@
FROM node:18
#install calibre
RUN apt-get update -y
RUN apt-get install -y libopengl0
RUN apt-get install -y libegl1
RUN wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin
WORKDIR /srv/app
COPY ./ /srv/app
RUN npm install
EXPOSE $PORT
CMD ["npm", "run", "dev"]
CMD ["npm", "run", "start"]