Skip to content

Commit 421f953

Browse files
committed
docker: add GID
1 parent 8be4cd9 commit 421f953

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ COPY --from=builder --chown=app:app /app .
3434
# Place executables in the environment at the front of the path
3535
ENV PATH="/app/.venv/bin:$PATH"
3636

37-
USER 1000
37+
# todo: check if this makes a difference
38+
# 4203 is the group id of the media encoder on file01.
39+
USER 1000:4203
3840

3941
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]

0 commit comments

Comments
 (0)