diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 1070d51..3d031b0 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: name: Build images with: context: . - file: docker/Dockerfile + file: Dockerfile tags: ${{ steps.meta.outputs.tags }} platforms: linux/amd64 push: true diff --git a/Dockerfile b/Dockerfile index 192474a..e848066 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,6 @@ COPY --from=builder /file-uploader-crystal/file-uploader-crystal . RUN chmod o+rX -R ./config EXPOSE 8080 -USER invidious +USER file-uploader-crystal ENTRYPOINT ["/sbin/tini", "--"] -CMD [ "/invidious/file-uploader" ] +CMD [ "/file-uploader-crystal/file-uploader-crystal" ]