aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile32
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 @@
1FROM debian:bullseye
2
3EXPOSE 8000
4
5WORKDIR /app
6
7COPY src ./src
8
9RUN 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
18ENTRYPOINT ["/app/src/run.sh"]
19
20LABEL 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" \