Упрощение копирования файлов приложения в Dockerfile
This commit is contained in:
@@ -7,10 +7,7 @@ COPY requirements.txt .
|
|||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# Copy application files
|
# Copy application files
|
||||||
COPY bot.py .
|
COPY . .
|
||||||
COPY vndb_client.py .
|
|
||||||
COPY config.py .
|
|
||||||
COPY utils.py .
|
|
||||||
|
|
||||||
# Copy environment file (or use docker secrets/environment variables)
|
# Copy environment file (or use docker secrets/environment variables)
|
||||||
# COPY .env .
|
# COPY .env .
|
||||||
|
|||||||
Reference in New Issue
Block a user