feat(docker): init Dockerfile
This commit is contained in:
parent
0d7a5d4ccd
commit
3940b4cec7
4 changed files with 32 additions and 1 deletions
21
Dockerfile
Normal file
21
Dockerfile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
FROM python:3.10-slim
|
||||
|
||||
LABEL org.label-schema.schema-version="1.0"
|
||||
LABEL org.label-schema.vendor="Tiara Rodney (victoryk.it)"
|
||||
LABEL org.label-schema.name="victorykit/httpaste"
|
||||
LABEL org.label-schema.description="a versatile HTTP pastebin"
|
||||
LABEL org.label-schema.vcs-url="https://bitbucket.org/victorykit/docker-selenium-grid"
|
||||
LABEL org.label-schema.docker.cmd="docker run {image-id} {httpaste-args}"
|
||||
LABEL org.label-schema.version=$BUILD_VERSION
|
||||
LABEL org.label-schema.build-date=$BUILD_DATE
|
||||
|
||||
WORKDIR /usr/local/src/httpaste
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y libffi-dev gcc && \
|
||||
python3 setup.py install && \
|
||||
apt-get remove -y libffi-dev gcc && apt-get autoremove -y && apt-get clean -y
|
||||
|
||||
ENTRYPOINT ["httpaste"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue