You are here |
preslav.me | ||
| | | |
memo.mx
|
|
| | | | Docker multi-stage build is a great way to build a container images with a minimal footprint. Compiled languages like Go or Rust can take advantage of this by just shipping a binary to a container This is an example from the official docs: FROM golang:1.16 WORKDIR /go/src/github.com/alexellis/href-counter/ RUN go get -d -v golang.org/x/net/html COPY app.go ./ RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o app . FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /root/ COPY --from=0 /g... | |
| | | |
epicserve.com
|
|
| | | | I was working on my Django Base Site project when I discovered a test was failing in a GitHub Action when trying to run Django's collectstatic manager command. It was failing in Python with the error, PermissionError: [Errno 13] Permission denied: '/srv/app/collected_static'. | |
| | | |
www.ericholscher.com
|
|
| | | | We use docker pretty heavily at work, and a pattern I've often run into is that I want to play around in a docker image to get something working, and then be able to "save" it back into the origina... | |
| | | |
eltonminetto.dev
|
|
| | Em ambientes complexos é relativamente comum a adoção de uma arquitetura orientada a eventos (Event-driven architecture, ou EDA) para aumentar a escalabilidade e reduzir o acoplamento entre os componentes/serviços. |