Dockerfile 547 B

1234567891011121314151617181920
  1. # syntax=docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
  2. FROM const-gen AS const-export
  3. FROM docker.io/python:3.10@sha256:eeed7cac682f9274d183f8a7533ee1360a26acb3616aa712b2be7896f80d8c5f
  4. RUN python3 -m pip install virtualenv
  5. RUN apt-get update
  6. RUN apt-get -y install netcat
  7. COPY Pipfile.lock Pipfile.lock
  8. COPY Pipfile Pipfile
  9. RUN python3 -m pip install pipenv
  10. RUN pipenv install
  11. RUN mkdir teal
  12. COPY *.py .
  13. COPY test/*.json .
  14. COPY deploy.sh deploy.sh
  15. COPY --from=const-export .env .env