From d18bb89798fddbaa9101a4b223b6a967577133ef Mon Sep 17 00:00:00 2001 From: Shuhei Takahashi Date: Mon, 6 Jul 2020 22:20:42 +0900 Subject: [PATCH] python: Use the standard build/run protocol (#36) --- dockerfiles/python/Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dockerfiles/python/Dockerfile b/dockerfiles/python/Dockerfile index 4d6ac18..d49a829 100644 --- a/dockerfiles/python/Dockerfile +++ b/dockerfiles/python/Dockerfile @@ -1,7 +1,6 @@ -FROM icfpcontest2020/python:latest -WORKDIR /source +FROM icfpcontest2020/python +WORKDIR /solution COPY . . -WORKDIR /source/app - -ENTRYPOINT ["python", "main.py"] +RUN ./build.sh +ENTRYPOINT ["./run.sh"]