-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
31 lines (25 loc) · 1.1 KB
/
Dockerfile
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
# ------------------------------------------------------------------------------
# Pull base image
FROM ubuntu:focal
MAINTAINER Brett Kuskie <[email protected]>
# ------------------------------------------------------------------------------
# Set environment variables
ENV DEBIAN_FRONTEND noninteractive
# ------------------------------------------------------------------------------
# Install rtorrent and clean up
RUN apt-get update && \
apt-get install -y --no-install-recommends build-essential gdb python3-pip tmux && \
python3 -m pip install gdbfrontend && \
apt-get clean && rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
# ------------------------------------------------------------------------------
# Install startup scripts
COPY app/*.sh /app/
# ------------------------------------------------------------------------------
# Identify Volumes
VOLUME /data
# ------------------------------------------------------------------------------
# Expose ports
EXPOSE 5550
# ------------------------------------------------------------------------------
# Define default command
CMD ["/app/app.sh"]