fix catalogs dockerfile

This commit is contained in:
TheBeastLT
2022-04-01 14:20:32 +02:00
parent 283eef4bfd
commit 5343d264c6
4 changed files with 9 additions and 6 deletions

3
.dockerignore Normal file
View File

@@ -0,0 +1,3 @@
**/node_modules
**/npm-debug.log
**/.env

View File

@@ -1,3 +1,3 @@
node_modules
npm-debug.log
**/node_modules
**/npm-debug.log
**/.env

View File

@@ -1,3 +1,3 @@
node_modules
npm-debug.log
**/node_modules
**/npm-debug.log
**/.env

View File

@@ -5,8 +5,8 @@ RUN apk update && apk upgrade && \
WORKDIR /home/node/app
COPY package*.json ./
COPY ./catalogs .
COPY ./addon ../addon
RUN npm ci --only-production
COPY . .
CMD [ "node", "index.js" ]