Skip to content

Commit

Permalink
Update notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas1312 committed Jul 26, 2024
1 parent e49861b commit 554a815
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ COPY ./app.py /app/
This is a 2 stage build as you can see separated by the FROM steps written in the Dockerfile.

- Stage 1 install the system dependencies required for us to install our pip dependencies. We use the --prefix option to define a unique path where we want pip to install the packages into.
- Stage 2 starts from a brand new alpine image and instead of installing any system dependencis, we use the COPY command to copy the pip packages installed in /install from our first builder image, into our newly created image.
- Stage 2 starts from a brand new alpine image and instead of installing any system dependencies, we use the COPY command to copy the pip packages installed in /install from our first builder image, into our newly created image.

## Build the image

Expand Down Expand Up @@ -290,7 +290,7 @@ Docker Compose is a way to create reproducible Docker containers using a config

Docker compose is also a tool to run multiple containers at once. It is configured with a YAML file called `docker-compose.yml`.

Bascially, docker compose will do the "create image" and "create container" steps for you.
Basically, docker compose will do the "create image" and "create container" steps for you.

```yaml
version: "3.8" # version of docker compose
Expand Down Expand Up @@ -347,10 +347,6 @@ The command passed by `run` overrides the command defined in the service configu

Prefer use `docker compose up` for running the app and `docker compose run` for running one-off commands.

## Tools

- [Deepo](https://github.com/ufoym/deepo/): Set up deep learning environment in a single command line

## More

- [A Beginner-Friendly Introduction to Containers, VMs and Docker](https://www.freecodecamp.org/news/a-beginner-friendly-introduction-to-containers-vms-and-docker-79a9e3e119b/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
- <https://www.begin.re/>
- <https://malwareunicorn.org/workshops/re101.html#0>
- <https://0x44.cc/reversing/2021/07/21/reversing-x86-and-c-code-for-beginners.html>
- <https://0xinfection.github.io/reversing/>

0 comments on commit 554a815

Please sign in to comment.