Fakultas Ilmu Komputer UI

Commit a67bbebd authored by Bayukanta Iqbal Gunawan's avatar Bayukanta Iqbal Gunawan
Browse files

tes docker

parent 6857a4bc
Pipeline #48700 failed with stage
in 1 minute and 23 seconds
......@@ -91,7 +91,7 @@ Deployment:
- apt-get install -qq git
- 'which ssh-agent || ( apt-get install -qq openssh-client )'
- eval $(ssh-agent -s)
- ssh-add <(echo "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcEFJQkFBS0NBUUVBeDhVWHg0cE9NbXoyY21ESEg5eTd5bVFhQ01BRnFVL2wyZjk5TXJMWGFLR3pKUTFmCnEvNWhzeUQ5VEtmaWRsOGxMTnAxWk0vdGh2WXNSQzlGMnlzbVlyMnplQXBUWGhSZHZMQnNWZC9nQXhtRGZhREcKQkJvUTYzaFFIYTNsWkc5ZjhWQUkvUkVIQzA3TVdCdWl3ZWxKWVk3U2g1NjFzc0FmTjVJSVdsRFJDdUJwVTh6Sgo0ZjV5Uy9NL2Voa2IvbFVpWDFqdm8xcTZ0MEJER1pWNUZWSlM1VjlTTW01d3hTWW5tUWJPNmdFUnFFYURoUUFEClduN0VJS3RUdEE0c09sL012SGZvUGd3Y0o1dGUyY1RnQ0dyZ2JabEtzZllDWm1qK2J4bkU0ZmVxWWNuZy8yRUYKa3gwV2o1U1d1YWtJblRLd3hjT3Y1K1RQNUxmOXFPRkw5UW9EeFFJREFRQUJBb0lCQVFDckJiYW40Mld5a2NvaQpmV3U3Z1ZOYm4zc1NScUlTSXc2YUpMbmdMMjl1YWhCZUJpY0RyZEdpY3ZtbktJc2QzN0tKeGJSK3krdURnVGpBClh1QWxFN25YQ3FTY2ZlcUZQbFpKZFpncHBIRzQ5WnkyYm05WGo2RXdsVjJ4S3ZDWm5TZThCVkxNcEVrdGl4WXgKeitiMHIyMWRFZEoydkk2OUt2RU90L3hpcFpGeEJzNEtmQUw4L2pGVlVqOHdOQU9nMTVlQ2FmR2dKY2kzSHRLbQo3cmc3OG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rRVJCM0l4MVNMZUJLd0tqdTJMZWVLaFMrV0YreExJR3V3Wldybis5Z2p2ZEdiCmtPK09vUUtCZ1FEVmFLTnZESE5GRTg1Vk1CUEV5eEVGcmNRcVFGcjlDQUxWME9kMTR0SFNTZE03TlZ5MFVBSXQKemZram5jTmhpb3pOdW56Q29JMngveU5INVpkVW1QWjRwNEVjK0phZFl2enJQNCs3cFdVYkl0LzkzMnRYSDcxcwpZR3pyTFZjcWZNeVMxbGZtdXdJR0tqZ0V5SnRPWHYrajk2YkhjNWh5YUFTbW5qTmNTa01UVGc9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=a" | base64 -d)
- ssh-add <(echo "$SSH_SECRET_KEY" | base64 -d)
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
script:
......
......@@ -5,6 +5,11 @@ RUN mkdir -p /opt/pplbackend
ADD . /opt/pplbackend
RUN \
apt-get update && \
apt-get -y install python3 python3-pip && \
python3 -m pip install -r requirements.txt --no-cache-dir
RUN chmod +x /opt/pplbackend/docker_start.sh
EXPOSE 8000
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment