aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-11-10 03:18:22 +0300
committerValentin Popov <info@valentineus.link>2017-11-10 03:18:22 +0300
commit86fb1452dc8de590e67d4476ce8375dde7aaefd7 (patch)
tree807781b6c0ea4dd7a27d6c8d2da06452b068c4de /Dockerfile
parent00bc6c42208039c614d439e340030c582af9dd27 (diff)
downloadmednafen-server-86fb1452dc8de590e67d4476ce8375dde7aaefd7.tar.xz
mednafen-server-86fb1452dc8de590e67d4476ce8375dde7aaefd7.zip
Creating a container
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..236b04d
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,14 @@
+FROM "debian:stable-slim"
+MAINTAINER "Valentin Popov <info@valentineus.link>"
+
+# Install the application
+ADD ["mednafen-server_*_amd64.deb", "/tmp/mednafen-server.deb"]
+RUN ["dpkg", "--install", "/tmp/mednafen-server.deb"]
+RUN ["rm", "/tmp/mednafen-server.deb"]
+
+# Configuration file
+ADD ["standard.conf", "/etc/standard.conf"]
+
+# Starting the server
+CMD ["mednafen-server", "/etc/standard.conf"]
+EXPOSE 4046 \ No newline at end of file