Improvements to Docker Image (Proper Layers Order and Docker-Ignore) #2

Closed
vapronva wants to merge 0 commits from vapronva/mastoposter-oss_images:docker-fixes into unsafe
First-time contributor

Why?

Prerequisites

“— 🤓” & “— 🤡

Main Message

This project uses Docker as a way to run the application. Hence, some guidelines for creating Docker images should be followed.

What?

The single commit in this pull request includes:

  • added .dockerignore file — ensure no funky files are being added to the image
  • changed Dockerfile file — proper order of layers and commands (static instructions are executed first)

Note

This is a second PR being proposed due to my stupidity. Кринжанул просто капец...

## Why? ### Prerequisites “— 🤓” & “— 🤡” ### Main Message This project uses Docker as a way to run the application. Hence, some guidelines for creating Docker images should be followed. ## What? The single commit in this pull request includes: * added `.dockerignore` file — ensure no [funky](https://youtu.be/7h7bnYA1LXE?t=24) files are being added to the image * changed `Dockerfile` file — proper order of layers and commands (static instructions are executed first) ### Note This is a second PR being proposed due to my stupidity. Кринжанул просто капец...
vapronva added 1 commit 2022-09-30 05:51:02 +03:00
Owner

lgtm + idc ab docker + ratio + good work + skill + nice git awesome yggdrasil + first good pr + :)

lgtm + idc ab docker + ratio + good work + skill + nice git awesome yggdrasil + first good pr + :)
hkc closed this pull request 2022-09-30 15:43:30 +03:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hkc/mastoposter#2
No description provided.