Remove unnecessary cache mount from Dockerfile RUN command
This commit is contained in:
@ -6,8 +6,7 @@ RUN useradd -m botuser && mkdir -p /home/botuser/data
|
||||
WORKDIR /home/botuser
|
||||
COPY interactions /home/botuser/interactions
|
||||
COPY discord_reminder_bot /home/botuser/discord_reminder_bot
|
||||
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
|
||||
RUN --mount=type=bind,source=pyproject.toml,target=pyproject.toml \
|
||||
uv sync --no-install-project
|
||||
VOLUME ["/home/botuser/data/"]
|
||||
CMD ["uv", "run", "discord_reminder_bot/main.py"]
|
||||
|
Reference in New Issue
Block a user