progress
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
FROM python:3.10-slim
|
||||
|
||||
WORKDIR /
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
COPY docker_dev/alpaca_md_day/requirements.txt /
|
||||
RUN pip install --upgrade pip --root-user-action=ignore
|
||||
RUN pip install -r /requirements.txt --root-user-action=ignore
|
||||
|
||||
COPY cvttpy /cvttpy
|
||||
COPY docker_dev/alpaca_md_day/.creds /.creds
|
||||
COPY docker_dev/alpaca_md_day/alpaca_md_day.sh /alpaca_md_day.sh
|
||||
|
||||
# RUN apt install openssh-client -y
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends rsync openssh-client && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY docker_dev/shared/id_rsa /root/.ssh/id_rsa
|
||||
COPY docker_dev/shared/id_rsa.pub /root/.ssh/id_rsa.pub
|
||||
COPY docker_dev/shared/known_hosts /root/.ssh/known_hosts
|
||||
|
||||
RUN chmod 600 /root/.ssh/id_rsa /root/.ssh/id_rsa.pub /root/.ssh/known_hosts
|
||||
|
||||
|
||||
# Shared Volumes
|
||||
RUN mkdir -p /app/data
|
||||
RUN mkdir /logs
|
||||
RUN chmod +x /alpaca_md_day.sh
|
||||
|
||||
ENTRYPOINT [ "/alpaca_md_day.sh" ]
|
||||
|
||||
ENV PYTHONPATH=/
|
||||
CMD [ "echo", "alpaca_md_day"]
|
||||
Reference in New Issue
Block a user