mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-01-11 22:40:22 +00:00
fix catalogs dockerfile
This commit is contained in:
parent
283eef4bfd
commit
5343d264c6
4 changed files with 9 additions and 6 deletions
3
.dockerignore
Normal file
3
.dockerignore
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
**/node_modules
|
||||||
|
**/npm-debug.log
|
||||||
|
**/.env
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
node_modules
|
**/node_modules
|
||||||
npm-debug.log
|
**/npm-debug.log
|
||||||
**/.env
|
**/.env
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
node_modules
|
**/node_modules
|
||||||
npm-debug.log
|
**/npm-debug.log
|
||||||
**/.env
|
**/.env
|
||||||
|
|
@ -5,8 +5,8 @@ RUN apk update && apk upgrade && \
|
||||||
|
|
||||||
WORKDIR /home/node/app
|
WORKDIR /home/node/app
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY ./catalogs .
|
||||||
|
COPY ./addon ../addon
|
||||||
RUN npm ci --only-production
|
RUN npm ci --only-production
|
||||||
COPY . .
|
|
||||||
|
|
||||||
CMD [ "node", "index.js" ]
|
CMD [ "node", "index.js" ]
|
||||||
Loading…
Reference in a new issue