Start of dockerfile for running server in docker
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal 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" ]
|
||||
Reference in New Issue
Block a user