diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e1f4b9a --- /dev/null +++ b/Dockerfile | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | FROM debian:bullseye | ||
| 2 | |||
| 3 | EXPOSE 8000 | ||
| 4 | |||
| 5 | WORKDIR /app | ||
| 6 | |||
| 7 | COPY src ./src | ||
| 8 | |||
| 9 | RUN apt update -y && apt install -y \ | ||
| 10 | python3-tz \ | ||
| 11 | python3-flask \ | ||
| 12 | python3-flaskext.wtf \ | ||
| 13 | python3-requests \ | ||
| 14 | python3-wtforms \ | ||
| 15 | && apt clean \ | ||
| 16 | && rm -rf /var/cache/apt | ||
| 17 | |||
| 18 | ENTRYPOINT ["/app/src/run.sh"] | ||
| 19 | |||
| 20 | LABEL maintainer="searxng <${GIT_URL}>" \ | ||
| 21 | description="Weather Application" \ | ||
| 22 | version="0.1" \ | ||
| 23 | org.label-schema.schema-version="1.0" \ | ||
| 24 | org.label-schema.name="pywttr" \ | ||
| 25 | org.label-schema.version="0.1" \ | ||
| 26 | org.label-schema.url="https://gitea.chudnick.com/sam/pywttr" \ | ||
| 27 | org.opencontainers.image.title="pywttr" \ | ||
| 28 | org.opencontainers.image.version="0.1" \ | ||
| 29 | org.opencontainers.image.url="https://gitea.chudnick.com/sam/pywttr" \ | ||
| 30 | org.opencontainers.image.revision="0.1" \ | ||
| 31 | org.opencontainers.image.source="https://gitea.chudnick.com/sam/pywttr" \ | ||
| 32 | org.opencontainers.image.documentation="https://gitea.chudnick.com/sam/pywttr" \ | ||
