fix binary/artifact-in-docker errors and uncertainties

This commit is contained in:
2025-11-27 17:59:17 +01:00
parent 598bae7377
commit 87361d6418
5 changed files with 34 additions and 23 deletions

View File

@@ -7,6 +7,7 @@ ARG APP_NAME=arche
FROM rust:${RUST_VERSION}-alpine AS build
ARG APP_NAME
WORKDIR /app
ENV IN_DOCKER=true
# Install host build dependencies.
RUN apk add --no-cache clang lld musl-dev git
@@ -58,6 +59,7 @@ RUN adduser \
RUN mkdir -p /app && chown appuser:appuser /app
USER appuser
WORKDIR /app
ENV IN_DOCKER=true
ENV DISCORD_BOT_TOKEN=""
ENV DISCORD_SERVER_ID=""