Files
docker-py-revanced/Dockerfile
T
2023-08-25 19:04:43 +05:30

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"]