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

Closed
vapronva wants to merge 4 commits from vapronva/mastoposter-oss_images:master into master
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)
## 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)
vapronva added 1 commit 2022-09-30 02:50:23 +03:00
vapronva added 1 commit 2022-09-30 04:08:39 +03:00
Author
First-time contributor

oh wow, forgor to switch the repositories was pushing to... and, huh, idk how to keep only that one commit from entering the pull request :sadge:

oh wow, forgor to switch the repositories was pushing to... and, huh, idk how to keep only that one commit from entering the pull request :sadge:
vapronva added 1 commit 2022-09-30 04:49:45 +03:00
vapronva added 1 commit 2022-09-30 05:00:50 +03:00
Author
First-time contributor

sorry for my dumbness, will close now, reopen with a proper different branch

sorry for my dumbness, will close now, reopen with a proper different branch
vapronva closed this pull request 2022-09-30 05:27:00 +03:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 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#1
No description provided.