mirror of
https://github.com/shlldev/miniws.git
synced 2025-09-02 19:00:59 +02:00
add Dockerfile
This commit is contained in:
8
Dockerfile
Normal file
8
Dockerfile
Normal 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
2
go.mod
@@ -2,4 +2,4 @@ module com.github/shlldev/miniws
|
|||||||
|
|
||||||
go 1.22.2
|
go 1.22.2
|
||||||
|
|
||||||
require github.com/akamensky/argparse v1.4.0 // indirect
|
require github.com/akamensky/argparse v1.4.0
|
||||||
|
Reference in New Issue
Block a user