More preparation for running in docker
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -1,14 +1,12 @@
|
||||
FROM alpine:latest
|
||||
|
||||
# Dependencies
|
||||
RUN apk add gcompat
|
||||
RUN apk add libuuid
|
||||
|
||||
# copy users file and app binary
|
||||
COPY ./output/userctl /root/userctl
|
||||
COPY ./output/server /root/server
|
||||
# Executable files
|
||||
COPY ./output/userctl /userctl
|
||||
COPY ./output/server /server
|
||||
|
||||
RUN mkdir /books
|
||||
|
||||
# init command
|
||||
#ENTRYPOINT [ "/root/server", "5000", "/books", "ThoNohT's Library" ]
|
||||
ENTRYPOINT [ "/bin/sh" ]
|
||||
# Entrypoint
|
||||
ENTRYPOINT /server "$OFS_PORT" "$OFS_LIBRARY_PATH" "$OFS_TITLE"
|
||||
|
||||
Reference in New Issue
Block a user