소스 검색

Dockerfile for current architecture

master
Mikhail Chernov 8 년 전
부모
커밋
ca00812c4e
1개의 변경된 파일17개의 추가작업 그리고 0개의 파일을 삭제
  1. 17
    0
      Dockerfile

+ 17
- 0
Dockerfile 파일 보기

@@ -0,0 +1,17 @@
# Use an official Python runtime as a parent image
FROM frolvlad/alpine-python3:latest

# Set the working directory to /app
WORKDIR /app

# Copy the current directory contents into the container at /app
ADD . /app

# Install any needed packages specified in requirements.txt
RUN pip3 install -r requirements.txt

# Define environment variable
ENV NAME magic-judge-telegram-bot

# Run app.py when the container launches
CMD ["python3", "magic-judge-telegram-bot.py"]

Loading…
취소
저장