diff --git a/dockerfiles/Dockerfile.prod b/dockerfiles/Dockerfile.prod index 93554c4..cdec9a8 100644 --- a/dockerfiles/Dockerfile.prod +++ b/dockerfiles/Dockerfile.prod @@ -26,5 +26,6 @@ WORKDIR /home/node COPY --chown=node:node --from=builder /home/node/package*.json /home/node/ COPY --chown=node:node --from=builder /home/node/node_modules/ /home/node/node_modules/ COPY --chown=node:node --from=builder /home/node/dist/ /home/node/dist/ +COPY --chown=node:node --from=builder /home/node/src/assets/ /home/node/src/assets/ CMD ["node", "dist/main"] diff --git a/package.json b/package.json index c254bd7..cce75fd 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "start": "nest start", "tunnel": "ngrok http 3000", "start:debug": "nest start --debug --watch", - "build:prod": "docker build --pull --rm -f \"dockerfiles\\Dockerfile.prod\" -t bingusboingus:latest \".\"", - "build:test": "docker build --pull --rm -f \"dockerfiles\\Dockerfile.test\" -t bingusboingus:test \".\"", + "build:prod": "docker build --pull --rm -f \"dockerfiles\\Dockerfile.prod\" -t ghcr.io/blvckleg/bingusboingus:latest \".\"", + "build:test": "docker build --pull --rm -f \"dockerfiles\\Dockerfile.test\" -t ghcr.io/blvckleg/bingusboingus:test \".\"", "test:image": "docker run bingusboingus:test npm run test", "test": "jest", "test:watch": "jest --watch"