telzine/Dockerfile

18 lines
281 B
Docker
Raw Permalink Normal View History

2023-07-30 03:26:31 +00:00
# syntax=docker/dockerfile:1
ARG ISSUE_DIR=issue1
FROM python:3.8-slim-buster
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY dialazine dialazine
COPY $ISSUE_DIR $ISSUE_DIR
EXPOSE 23/tcp
CMD [ "python3", "dialazine/server.py" ]