Open yanalanhe opened 5 years ago
Here are my two related Dockerfiles:
FROM docker.io/library/node:8.9.0 ENV NODE_ENV production ENV PORT 3000 ENV DOCKER_SOCKET_PATH /host/var/run/docker.sock ENV DOCKER_CCENV_IMAGE hyperledger/fabric-ccenv:latest RUN mkdir /app COPY . /app WORKDIR /app RUN npm i && npm i --only=dev && npm run build && npm prune EXPOSE 3000 CMD ["npm", "run", "serve"]
version: '2'
services: peer-base: environment:
Running build_ubuntu.sh on my Ubuntu 18.04 AWS EC2 t2.micro got following error:
write /var/lib/docker/tmp/GetImageBlob661979273: no space left on device
Pulling shop-ca (shop-ca:latest)... ERROR: pull access denied for shop-ca, repository does not exist or may require 'docker login'
Prior to running build_ubuntu.sh, I ran docker login that Login Succeeded. I am also able to install packages via npm without sudo. Running "sudo ./build_ubuntu.sh" got same error.