This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
# Initial node | |
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
sudo curl -sfL https://get.k3s.io | \ | |
INSTALL_K3S_CHANNEL=testing \ | |
K3S_KUBECONFIG_MODE=644 sh -s - --cluster-init | |
- The initial token can be found in: /var/lib/rancher/k3s/server/node-token | |
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### STAGE 1: clone ### | |
FROM node:12.16.3-alpine3.9 AS clone | |
LABEL mantainer="Facu de la Cruz <[email protected]>" | |
LABEL type="builder" | |
WORKDIR /usr/src/frontend | |
# We need to install those packages to use npm | |
# A few repositories are cloned by using Git over SSH |