Start of dockerfile for running server in docker

This commit is contained in:
2026-06-17 17:34:07 +02:00
parent 0ab6904c11
commit 96921d83c0
2 changed files with 23 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM alpine:latest
RUN apk add gcompat
RUN apk add libuuid
# copy users file and app binary
COPY ./output/userctl /root/userctl
COPY ./output/server /root/server
RUN mkdir /books
# init command
#ENTRYPOINT [ "/root/server", "5000", "/books", "ThoNohT's Library" ]
ENTRYPOINT [ "/bin/sh" ]