• 2 Posts
  • 88 Comments
Joined 1 year ago
cake
Cake day: June 24th, 2023

help-circle


















  • I learned by reading other Dockerfiles. They’re very simple in theory. You start from a base image using the “FROM” command. You copy all your code files using the “COPY” command. Run any environment set up with the “RUN” command. Then execute your program with the “ENTRYPOINT” command. For very basic services, that’s enough.

    There are definitely some quirks that really you’ll only learn by trying it yourself and making mistakes. But I say just do it. If you know all about Linux systems like with file permissions and such, it won’t be too bad.