|
@@ -14,17 +14,15 @@ RUN apt update -yqq && \
|
|
|
./koch nimble && \
|
|
|
./koch tools
|
|
|
|
|
|
-ENV PATH=$PATH:/nim/nim-devel/bin:/root/.nimble/bin
|
|
|
+ENV PATH $PATH:/nim/nim-devel/bin:/root/.nimble/bin
|
|
|
|
|
|
+WORKDIR /mofu_framework
|
|
|
RUN git clone https://github.com/2vg/mofuw.git && \
|
|
|
cd mofuw && \
|
|
|
nimble update && \
|
|
|
echo 'y' | nimble install
|
|
|
|
|
|
-WORKDIR /app
|
|
|
-
|
|
|
-COPY ./ /app
|
|
|
-
|
|
|
-RUN chmod a+wrx start-servers.sh
|
|
|
-
|
|
|
-CMD ./start-servers.sh
|
|
|
+WORKDIR /mofuw_app
|
|
|
+COPY techempower.nim techempower.nim
|
|
|
+RUN nim c -d:release --threads:on techempower.nim
|
|
|
+CMD ["./techempower"]
|