(refactor) Move hosts file copy from volume mount to Dockerfile
Bake the custom hosts file into the Docker image instead of mounting it as a volume. This simplifies deployment configuration and makes the image more self-contained. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,9 @@ RUN apk add --no-cache libc6-compat
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# copy custom hosts file to avoid issues with some auth providers
|
||||
COPY ./etc/hosts /etc/hosts
|
||||
|
||||
# Copy package files
|
||||
COPY ./package.json ./package-lock.json ./
|
||||
|
||||
|
||||
Reference in New Issue
Block a user