주시
1
2
포크
이미 Forex-MT5-Bot을(를) 포크했습니다
1
의 미러 https://github.com/Qoyyuum/Forex-MT5-Bot.git 동기화됨 2026-10-08 10:21:37 +00:00
Forex-MT5-Bot/Dockerfile

28 라인
891 비
Docker

# For more information, please refer to https://aka.ms/vscode-docker-python
FROM python:3.8-slim-buster
# Keeps Python from generating .pyc files in the container
ENV PYTHONDONTWRITEBYTECODE=1
# Turns off buffering for easier container logging
ENV PYTHONUNBUFFERED=1
RUN pip install pipenv
# Install pip requirements
COPY Pipfile* .
RUN python -m pipenv install --system --deploy
WORKDIR /app
COPY . /app
# Run in a cron job
# */1 * * * 1-5
# Creates a non-root user with an explicit UID and adds permission to access the /app folder
# For more info, please refer to https://aka.ms/vscode-docker-python-configure-containers
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /app
USER appuser
# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
CMD ["python", "app.py"]