aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: e267b529be6fa63a426f721534ba41e168ce3bc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM debian:bullseye

EXPOSE 8000

WORKDIR /app

COPY src ./src

RUN apt update -y && apt install -y \
  python3-tz \
  python3-flask \
  python3-flaskext.wtf \
  python3-requests \
  python3-wtforms \
  python3-bleach \
  python3-urllib3 \
  && apt clean \
  && rm -rf /var/cache/apt

ENTRYPOINT ["/app/src/run.sh"]

LABEL maintainer="searxng <${GIT_URL}>" \
		description="Weather Application" \
		version="0.1" \
		org.label-schema.schema-version="1.0" \
		org.label-schema.name="pywttr" \
		org.label-schema.version="0.1" \
		org.label-schema.url="https://gitea.chudnick.com/sam/pywttr" \
		org.opencontainers.image.title="pywttr" \
		org.opencontainers.image.version="0.1" \
		org.opencontainers.image.url="https://gitea.chudnick.com/sam/pywttr" \
		org.opencontainers.image.revision="0.1" \
		org.opencontainers.image.source="https://gitea.chudnick.com/sam/pywttr" \
		org.opencontainers.image.documentation="https://gitea.chudnick.com/sam/pywttr" \