This commit is contained in:
mikolajpaterka 2023-01-29 00:17:41 +01:00
parent c3529bda07
commit a0834209e7
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ def daj_dane(plik):
nip = sprzedawca[-1].replace('NIP: ', '')
return {
'vat_id' : nip,
'address' : sprzedawca_nazwa,
'salesman' : sprzedawca_nazwa,
'total' : razem
}

View File

@ -1,7 +1,7 @@
from credencials_aws import aws_access_key_id, aws_secret_access_key, aws_session_token, DEFAULT_VPC
import boto3
INDEKS = "s444455"
INDEKS = "lastchance2"
key_name = f"{INDEKS}-key"
security_group_name = f"{INDEKS}-security-group"
@ -15,8 +15,8 @@ cd DPZC_3/5
sudo yum install docker -y
sudo service docker start
sudo usermod -a -G docker ec2-user
docker build -t invoice .
docker run -d -p 80:8080 -t invoice
sudo docker build -t invoice .
sudo docker run -d -p 80:8000 -t invoice
'''
if __name__ == '__main__':