-
Went through the online course module on the AWS ECS for deploying containers on EC2 Instance type launch and Fargate type launch.
-
AWS Documentation
-
Docker Documentation
-
Installed docker engine manually on my practice machine via SSH
-
Practice with different images / containers
$ docker pull
$ docker run
$ docker build
-
Took my github project from last month and made a microservice container out of it with below configuration
$ docker build --tag shrink .
$ docker run --env-file api_keys shrink
-
Dockerfile for container build
FROM python:3.10.7-alpine WORKDIR /app COPY . . RUN pip3 install -r requirements.txt ENTRYPOINT ["python","shrink.py"] CMD ["python","shrink.py", "-h"]
I will just post it on Discord channel for today I guess ;)