Fixed Dockerfile to use the .env file for environment variables
This commit is contained in:
@@ -49,7 +49,9 @@ WORKDIR /app
|
|||||||
COPY ../requirements.txt ./
|
COPY ../requirements.txt ./
|
||||||
COPY ../alwrity.py /app/
|
COPY ../alwrity.py /app/
|
||||||
COPY ../lib /app/lib
|
COPY ../lib /app/lib
|
||||||
COPY ../.env /app/.env
|
|
||||||
|
# Create the .env file with default values
|
||||||
|
RUN echo "# Default environment variables for ALwrity\n" > /app/.env
|
||||||
|
|
||||||
# 10. Install Python dependencies
|
# 10. Install Python dependencies
|
||||||
RUN pip install --upgrade pip && \
|
RUN pip install --upgrade pip && \
|
||||||
|
|||||||
Reference in New Issue
Block a user