File: Dockerfile

package info (click to toggle)
openrefine 3.8.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 40,864 kB
  • sloc: javascript: 105,631; java: 85,657; xml: 5,917; sh: 615; makefile: 79; python: 71; sql: 60
file content (21 lines) | stat: -rw-r--r-- 795 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM debian:latest

LABEL maintainer "apo@debian.org"
LABEL description "OpenRefine development image based on Debian (not intended for production use)"

# Environment variables and timezone settings
ENV TZ="Europe/Berlin"

# Install OpenRefine
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
    echo $TZ > /etc/timezone && \
    printf "deb http://deb.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list && \
    printf "deb http://deb.debian.org/debian bullseye-proposed-updates main" > /etc/apt/sources.list.d/proposed.list && \
    apt update && apt upgrade -y && \
    apt install -y -t bullseye-backports openrefine && \
    apt -y clean && \
    rm -r /var/cache/apt /var/lib/apt/lists/*

EXPOSE 3333

CMD ["/usr/bin/openrefine", "-i", "0.0.0.0"]