s@vpsmtovsf7:~/draw/server/3$ git clone --recursive [email protected]:alswl/excalidraw-collaboration.git
Cloning into 'excalidraw-collaboration'...
remote: Enumerating objects: 60, done.
remote: Counting objects: 100% (60/60), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 60 (delta 29), reused 46 (delta 20), pack-reused 0
Receiving objects: 100% (60/60), 252.03 KiB | 886.00 KiB/s, done.
Resolving deltas: 100% (29/29), done.
Submodule 'excalidraw' (https://github.com/alswl/excalidraw.git) registered for path 'excalidraw'
Submodule 'excalidraw-room' (https://github.com/excalidraw/excalidraw-room.git) registered for path 'excalidraw-room'
Submodule 'excalidraw-storage-backend' (https://github.com/alswl/excalidraw-storage-backend.git) registered for path 'excalidraw-storage-backend'
Cloning into '/home/s/draw/server/3/excalidraw-collaboration/excalidraw'...
remote: Enumerating objects: 24231, done.
remote: Total 24231 (delta 0), reused 0 (delta 0), pack-reused 24231
Receiving objects: 100% (24231/24231), 33.46 MiB | 10.44 MiB/s, done.
Resolving deltas: 100% (19225/19225), done.
Cloning into '/home/s/draw/server/3/excalidraw-collaboration/excalidraw-room'...
remote: Enumerating objects: 606, done.
remote: Counting objects: 100% (169/169), done.
remote: Compressing objects: 100% (59/59), done.
remote: Total 606 (delta 145), reused 110 (delta 110), pack-reused 437
Receiving objects: 100% (606/606), 501.97 KiB | 3.10 MiB/s, done.
Resolving deltas: 100% (354/354), done.
Cloning into '/home/s/draw/server/3/excalidraw-collaboration/excalidraw-storage-backend'...
remote: Enumerating objects: 166, done.
remote: Counting objects: 100% (166/166), done.
remote: Compressing objects: 100% (75/75), done.
remote: Total 166 (delta 93), reused 159 (delta 87), pack-reused 0
Receiving objects: 100% (166/166), 268.78 KiB | 1.88 MiB/s, done.
Resolving deltas: 100% (93/93), done.
Submodule path 'excalidraw': checked out '015bdb1c0a2787c6d9544b9cbd66d9c92443431b'
Submodule path 'excalidraw-room': checked out 'c0bf0ba76c270920427554e8a61511da666bcd5a'
Submodule path 'excalidraw-storage-backend': checked out '2e1412b67177d40385fce360d16d211b2dba3432'
s@vpsmtovsf7:~/draw/server/3$ cd excalidraw-collaboration
s@vpsmtovsf7:~/draw/server/3/excalidraw-collaboration$ git config submodule.excalidraw.ignore all # ignore submodule changes, we will patch them
s@vpsmtovsf7:~/draw/server/3/excalidraw-collaboration$ make patch images
# you can edit excalidraw.env.production to change endpoints
cp excalidraw.env.production excalidraw/.env.production
cp excalidraw.dockerignore excalidraw/.dockerignore
Sending build context to Docker daemon 6.243MB
Step 1/10 : FROM node:14-alpine AS build
---> 399cc5685cda
Step 2/10 : WORKDIR /opt/node_app
---> Using cache
---> 4bf8a9a6755e
Step 3/10 : COPY package.json yarn.lock ./
---> Using cache
---> 624d68f828cb
Step 4/10 : RUN yarn --ignore-optional
---> Using cache
---> a3cd7d1346fe
Step 5/10 : ARG NODE_ENV=production
---> Using cache
---> d4b739c7e5f8
Step 6/10 : COPY . .
---> Using cache
---> 7196b4aa88aa
Step 7/10 : RUN yarn build:app:docker
---> Using cache
---> c2b18553843a
Step 8/10 : FROM nginx:1.21-alpine
---> b1c3acb28882
Step 9/10 : COPY --from=build /opt/node_app/build /usr/share/nginx/html
---> Using cache
---> 42fa37aa318e
Step 10/10 : HEALTHCHECK CMD wget -q -O /dev/null http://localhost || exit 1
---> Using cache
---> a0094c3c56d7
[Warning] One or more build-args [COMMIT] were not consumed
Successfully built a0094c3c56d7
Successfully tagged excalidraw:v0.1.0-bfea939
Sending build context to Docker daemon 298kB
Step 1/9 : FROM node:12-alpine
---> bb6d28039b8c
Step 2/9 : WORKDIR /excalidraw-room
---> Using cache
---> fca46fdfe4ca
Step 3/9 : COPY package.json yarn.lock ./
---> Using cache
---> 988dfff08dd3
Step 4/9 : RUN yarn
---> Using cache
---> 7f7012790621
Step 5/9 : COPY tsconfig.json ./
---> Using cache
---> b6fd43ecb323
Step 6/9 : COPY src ./src
---> Using cache
---> 61c62507e3aa
Step 7/9 : RUN yarn build
---> Using cache
---> d1a9e2c4f8f7
Step 8/9 : EXPOSE 80
---> Using cache
---> 4e304c097c67
Step 9/9 : CMD ["yarn", "start"]
---> Using cache
---> 7c265e615fa1
[Warning] One or more build-args [COMMIT] were not consumed
Successfully built 7c265e615fa1
Successfully tagged excalidraw-room:v0.1.0-bfea939
Sending build context to Docker daemon 822.3kB
Step 1/18 : FROM node:16-alpine as builder
---> 0e1140518c5f
Step 2/18 : RUN npm install -g eslint
---> Using cache
---> ecd023a40a30
Step 3/18 : RUN npm install -g @nestjs/cli
---> Using cache
---> fbea00dd858e
Step 4/18 : WORKDIR /app
---> Using cache
---> 3f4836844c54
Step 5/18 : COPY package.json .
---> Using cache
---> ad37411e5b9b
Step 6/18 : COPY package-lock.json .
---> Using cache
---> 872872da5411
Step 7/18 : RUN npm install
---> Using cache
---> b2d8b46f8a3a
Step 8/18 : COPY . .
---> Using cache
---> e300af7d11c3
Step 9/18 : RUN npm ci --prod
---> Using cache
---> c44647d1f96b
Step 10/18 : RUN npx nest build
---> Using cache
---> b6eaa1dcc9d4
Step 11/18 : FROM node:16-alpine
---> 0e1140518c5f
Step 12/18 : WORKDIR /app
---> Using cache
---> 1a97d84f2ba3
Step 13/18 : COPY --from=builder /app/package.json /app/package.json
---> Using cache
---> b1b703c79454
Step 14/18 : COPY --from=builder /app/dist /app/dist
---> Using cache
---> 57152dc71d27
Step 15/18 : COPY --from=builder /app/node_modules /app/node_modules
---> Using cache
---> 3b9a4abdbc54
Step 16/18 : USER node
---> Using cache
---> fda90e1f5075
Step 17/18 : EXPOSE 8080
---> Using cache
---> 756bf888ea91
Step 18/18 : ENTRYPOINT ["npm", "run", "start:prod"]
---> Using cache
---> 8ed20db198de
[Warning] One or more build-args [COMMIT] were not consumed
Successfully built 8ed20db198de
Successfully tagged excalidraw-storage-backend:v0.1.0-bfea939
s@vpsmtovsf7:~/draw/server/3/excalidraw-collaboration$ git commit -a -m 'feat: new image'
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
s@vpsmtovsf7:~/draw/server/3/excalidraw-collaboration$ make bump-version
echo v0.1.0-bfea939 > ./VERSION
PLEASE using 'git commit -a' to commit image version changes
s@vpsmtovsf7:~/draw/server/3/excalidraw-collaboration$ docker-compose up
ERROR: The Compose file './docker-compose.yaml' is invalid because:
Unsupported config option for services: 'storage'
s@vpsmtovsf7:~/draw/server/3/excalidraw-collaboration$