dnote/host/docker/Dockerfile

16 lines
222 B
Docker

FROM busybox:glibc
ARG tarballName
RUN test -n "$tarballName"
WORKDIR dnote
COPY "$tarballName" .
RUN tar -xvzf "$tarballName"
COPY entrypoint.sh .
ENTRYPOINT ["./entrypoint.sh"]
CMD ./dnote-server start
EXPOSE 3000