(Fix): Fix Dockerfile having improper versions, and copying the wrong config file path.
This commit is contained in:
@@ -9,15 +9,14 @@ WORKDIR /app
|
||||
# Copy dependency files first for better caching
|
||||
COPY deno.json deno.lock ./
|
||||
|
||||
# Cache dependencies
|
||||
RUN deno cache --reload npm:discord.js@^14.14.1 npm:@discordjs/rest@^2.2.0 npm:@toml-tools/parser@^1.0.0
|
||||
# Cache dependencies (--frozen flag ensures lockfile v5 compatibility)
|
||||
RUN deno install --frozen
|
||||
|
||||
# Copy source code
|
||||
COPY src/ ./src/
|
||||
COPY pikanetwork.js/ ./pikanetwork.js/
|
||||
|
||||
# Copy config (will be overridden by volume mount in production)
|
||||
COPY config.example.toml ./config.example.toml
|
||||
# Copy config
|
||||
COPY config.toml ./config.toml
|
||||
|
||||
# Create data and logs directories
|
||||
RUN mkdir -p /app/data /app/logs
|
||||
|
||||
Reference in New Issue
Block a user