add Dockerfile

This commit is contained in:
2025-08-03 13:43:40 +02:00
parent 949932f9dc
commit 890ed82b8e
3 changed files with 9 additions and 1 deletions

8
Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM fedora:43
SHELL [ "/bin/bash", "-c" ]
COPY miniws /bin/miniws
RUN mkdir -p "/data/{logs,config}"
RUN ls "/data"
EXPOSE 8040/tcp
ENTRYPOINT [ "/bin/miniws", "--port", "8040", "--logs-folder", "/data/logs", \
"--config-folder", "/data/config" ]

2
go.mod
View File

@@ -2,4 +2,4 @@ module com.github/shlldev/miniws
go 1.22.2
require github.com/akamensky/argparse v1.4.0 // indirect
require github.com/akamensky/argparse v1.4.0

BIN
miniws Executable file

Binary file not shown.