set user in docker image
Some checks failed
commit-tag / commit-tag-image (map[context:./ts file:./ts/Dockerfile name:ts]) (push) Has been cancelled
commit-tag / commit-tag-image (map[context:./migrations file:./migrations/Dockerfile name:migrations]) (push) Has been cancelled

This commit is contained in:
a 2025-03-02 18:36:33 -06:00
parent 7d0cb9d9ba
commit b33a78190f
No known key found for this signature in database
GPG Key ID: 2F22877AA4DFDADB

View File

@ -1,7 +1,7 @@
FROM ghcr.io/jackc/tern:v2.3.2 FROM ghcr.io/jackc/tern:v2.3.2
USER 1000:1000
WORKDIR /migrations WORKDIR /migrations
COPY . . COPY . .
ENV USER=1000
ENTRYPOINT ["/tern"] ENTRYPOINT ["/tern"]