Apply migrations in Docker container
This commit is contained in:
@@ -36,6 +36,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
# Copy source code
|
||||
COPY src/ src/
|
||||
COPY scripts/ scripts/
|
||||
COPY db/ db/
|
||||
COPY docker-entrypoint.sh /usr/local/bin/vk-parser-entrypoint
|
||||
RUN chmod +x /usr/local/bin/vk-parser-entrypoint \
|
||||
&& mkdir -p /var/lib/telegram-bot-api /tmp/telegram-bot-api
|
||||
|
||||
Reference in New Issue
Block a user