social media crossposting tool. 3rd time's the charm
mastodon misskey crossposting bluesky

fix: container syncing deps on startup

zenfyr.dev ec13e8e1 fc2a66c8

verified
+2 -8
+2 -8
Containerfile
··· 21 21 # Copy from the cache instead of linking since it's a mounted volume 22 22 ENV UV_LINK_MODE=copy 23 23 24 - # Install the project's dependencies using the lockfile and settings 25 - COPY ./uv.lock ./pyproject.toml /app/ 26 - RUN --mount=type=cache,target=/root/.cache/uv \ 27 - uv sync --locked --no-install-project --no-dev 28 - 29 24 # Define app data volume 30 25 VOLUME /app/data 31 26 32 27 # Then, add the rest of the project source code and install it 33 28 COPY . /app 34 - RUN --mount=type=cache,target=/root/.cache/uv \ 35 - uv sync --locked --no-dev 29 + RUN uv sync --locked --no-group dev 36 30 37 31 # Place executables in the environment at the front of the path 38 32 ENV PATH="/app/.venv/bin:$PATH" 39 33 40 34 # Set entrypoint to run the app using uv 41 - ENTRYPOINT ["uv", "run", "main.py"] 35 + ENTRYPOINT ["python", "main.py"]