2 files changed, 8 insertions(+), 4 deletions(-)
A Dockerfile
D apt-packages
A Dockerfile => Dockerfile +8 -0
@@ 0,0 1,8 @@
+FROM python:3.8
+COPY . /app
+WORKDIR /app
+ENV DEBIAN_FRONTEND=noninteractive
+RUN apt update && apt install -y libcgi-session-perl libhunspell-dev default-jre && rm -rf /var/lib/apt/lists/*
+RUN pip install -r requirements.txt
+EXPOSE 8000
+CMD ["python", "games.py"]
D apt-packages => apt-packages +0 -4
@@ 1,4 0,0 @@
-libcgi-session-perl
-libhunspell-dev
-default-jre
-nano