mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-24 19:38:36 +09:00
f758e9328f
This reverts commit 7164c29dd4.
18 lines
459 B
Docker
18 lines
459 B
Docker
FROM nikhilbadyal/docker-py-revanced-base
|
|
|
|
# Copy and install Python dependencies
|
|
COPY requirements.txt .
|
|
RUN python -m pip install --no-cache-dir --upgrade pip && \
|
|
pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
# Copy entrypoint script
|
|
COPY ./entrypoint /entrypoint
|
|
RUN sed -i 's/\r$//g' /entrypoint && chmod +x /entrypoint
|
|
|
|
# Copy application code
|
|
COPY . ${APP_HOME}
|
|
|
|
# Set the default command to run the entrypoint script
|
|
CMD ["bash","/entrypoint"]
|