ソースを参照

compile-time microoptimization

master
Archivist 5年前
コミット
12de0e332e
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      Dockerfile

+ 1
- 1
Dockerfile ファイルの表示

@ -5,6 +5,6 @@ COPY . /opt/app/
RUN cd /opt/app && \
shards
RUN cd /opt/app/ && crystal build --release src/sales_backend.cr
RUN cd /opt/app/ && crystal build --mcpu $(gcc -march=native -Q --help=target|grep march|awk '{print $2}'|head -n 1) --release src/sales_backend.cr
CMD /opt/app/sales_backend

読み込み中…
キャンセル
保存