Archived
generated from imcompiling/discord-bot-template
Update module name in dockerfile.
This commit is contained in:
+3
-3
@@ -3,10 +3,10 @@ FROM python:3.12.3-slim
|
|||||||
# install uv
|
# install uv
|
||||||
COPY --from=ghcr.io/astral-sh/uv:0.6.5 /uv /uvx /bin/
|
COPY --from=ghcr.io/astral-sh/uv:0.6.5 /uv /uvx /bin/
|
||||||
|
|
||||||
COPY . /off-cooldown-bot
|
COPY . /off_cooldown_bot
|
||||||
|
|
||||||
# Sync the project into a new environment, using the frozen lockfile
|
# Sync the project into a new environment, using the frozen lockfile
|
||||||
WORKDIR /off-cooldown-bot
|
WORKDIR /off_cooldown_bot
|
||||||
RUN uv sync --frozen --no-dev
|
RUN uv sync --frozen --no-dev
|
||||||
|
|
||||||
CMD ["uv", "run", "./off-cooldown-bot/main.py"]
|
CMD ["uv", "run", "./off_cooldown_bot/main.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user