1
00:00:04,620 --> 00:00:11,070
We are done with squeezing of the Docker image for API service, and here in the doggerel file, we

2
00:00:11,070 --> 00:00:18,510
added multiple steps like from a work deal, expose, copy and all those in order to build cast on Docker

3
00:00:18,510 --> 00:00:20,580
image as bays image.

4
00:00:20,730 --> 00:00:24,450
We've chosen Python and the tag here is 3.9.

5
00:00:24,690 --> 00:00:27,540
Also here we editor work a deal instruction.

6
00:00:27,660 --> 00:00:29,520
Does that folder inside of the image?

7
00:00:29,530 --> 00:00:30,770
Where are all application?

8
00:00:30,770 --> 00:00:31,950
The files are stored.

9
00:00:32,280 --> 00:00:38,540
Also here we are exposed port to 50 50 bits that brought where we were on Python Flask Web Server Room.

10
00:00:38,820 --> 00:00:45,630
Afterwards, we copied to files AP File and baby file that log into destination RPA folder inside of

11
00:00:45,630 --> 00:00:46,170
the image.

12
00:00:46,500 --> 00:00:50,610
Next to we installed all requirements using those three commands.

13
00:00:50,970 --> 00:00:56,280
And afterwards we copied to all remaining files in the destination working directory.

14
00:00:56,880 --> 00:01:00,510
And the one container that is based on this image is started.

15
00:01:00,690 --> 00:01:08,560
We run command Python Main UI, and that's how we actually start our service inside of the container.

16
00:01:09,090 --> 00:01:12,870
And we tried to do that using such command, as you see here.

17
00:01:13,050 --> 00:01:19,440
Look around this be the stance for probably here was brought on our local computer and here was internal

18
00:01:19,440 --> 00:01:20,910
brought inside of the container.

19
00:01:21,240 --> 00:01:22,620
And this image name?

20
00:01:22,980 --> 00:01:30,420
And basically, we added this name using DSD tech option when we run Docker built using Docker build

21
00:01:30,420 --> 00:01:30,870
command.

22
00:01:31,440 --> 00:01:34,680
And now at the moment, our EPA service is run inside.

23
00:01:34,680 --> 00:01:42,600
It was a container and now actually container is fully static and it works using files that we applaud

24
00:01:42,600 --> 00:01:45,360
at the image during build process.

25
00:01:45,570 --> 00:01:48,780
I mean, those files that we are corporate here on this slide.

26
00:01:49,530 --> 00:01:49,920
All right.

27
00:01:50,130 --> 00:01:53,190
This ID fraud localization of the API service.

28
00:01:53,370 --> 00:01:57,390
And next, let's move to the causation of the React application.

29
00:01:57,840 --> 00:02:04,080
Please keep this container up and running because when we are done with the causation of the React application,

30
00:02:04,260 --> 00:02:10,830
we will also run a second container and verify how to containers work together before wrapping up this

31
00:02:10,830 --> 00:02:11,670
summer lifecycle.

32
00:02:11,670 --> 00:02:14,460
Lifestyle changes that we made in our application.

33
00:02:14,670 --> 00:02:20,430
And you should see changes only in the doggerel or file, and you should see one untracked file here

34
00:02:20,550 --> 00:02:22,740
when you click on the source control icon.

35
00:02:23,240 --> 00:02:29,720
That's going to change changes and the message will be Docker, a file for the API service.

36
00:02:29,970 --> 00:02:33,960
Like that, let's commit changes and push them to remote.

37
00:02:34,940 --> 00:02:42,350
And we are actually done just with part of this first step in our plan with we API application.

38
00:02:42,560 --> 00:02:45,890
And next step is the creation of the front end application.

39
00:02:46,190 --> 00:02:47,900
I'll see you guys just in a moment.

