aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
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