mirror of https://github.com/dirtbags/moth.git
Adding license to Docker images
This commit is contained in:
parent
84c9a65aed
commit
4532e7c6bb
|
@ -7,4 +7,6 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o /mo
|
|||
FROM scratch
|
||||
COPY --from=builder /mothd /mothd
|
||||
COPY theme /theme
|
||||
COPY LICENSE.md /LICENSE
|
||||
|
||||
ENTRYPOINT [ "/mothd" ]
|
||||
|
|
|
@ -16,6 +16,7 @@ RUN apk --no-cache add \
|
|||
COPY devel /app/
|
||||
COPY example-puzzles /puzzles/
|
||||
COPY theme /theme/
|
||||
COPY LICENSE.md /LICENSE
|
||||
|
||||
ENTRYPOINT [ "python3", "/app/devel-server.py" ]
|
||||
CMD [ "--bind", "0.0.0.0:8080", "--puzzles", "/puzzles", "--theme", "/theme" ]
|
||||
|
|
Loading…
Reference in New Issue