You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
287B

  1. FROM python:3-alpine
  2. WORKDIR /asciiflow
  3. RUN addgroup -S asciiflow && adduser -S asciiflow -G asciiflow -h /asciiflow
  4. USER asciiflow
  5. COPY . ./
  6. HEALTHCHECK CMD netstat -an | grep 8000 > /dev/null; if [ 0 != $? ]; then exit 1; fi;
  7. ENTRYPOINT ["python3", "-m", "http.server"]
  8. EXPOSE 8000