1
0
Fork 0
mirror of https://github.com/on4kjm/FLEcli.git synced 2025-01-31 06:51:02 +01:00
FLEcli/docker/Dockerfile
2020-07-26 22:30:14 +02:00

16 lines
No EOL
321 B
Docker

FROM alpine:3.12 AS builder
# Copy the executable
COPY FLEcli /FLEcli_bin/FLEcli
RUN chmod +x /FLEcli_bin/FLEcli
FROM scratch
COPY --from=builder /FLEcli_bin/FLEcli /FLEcli_bin/FLEcli
# Create the data directory and set it as the defautl directory
WORKDIR /FLEcli_data
ENTRYPOINT ["/FLEcli_bin/FLEcli"]
CMD ["help"]