Browse Source

Move main executable to /usr/bin for Docker

Tindy X 5 years ago
parent
commit
6befb9db14
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/Dockerfile

+ 2 - 2
scripts/Dockerfile

@@ -25,7 +25,7 @@ RUN apk add --no-cache --virtual .build-tools git g++ build-base linux-headers c
     cd subconverter && \
     cmake -DCMAKE_BUILD_TYPE=Release . && \
     make -j4 && \
-    mv subconverter base/ && \
+    mv subconverter /usr/bin && \
     mv base ../ && \
     cd .. && \
     rm -rf subconverter && \
@@ -34,4 +34,4 @@ RUN apk add --no-cache --virtual .build-tools git g++ build-base linux-headers c
 
 # set entry
 WORKDIR /base
-CMD ./subconverter
+CMD subconverter