Kaynağa Gözat

compile-time microoptimization

master
Archivist 5 yıl önce
ebeveyn
işleme
12de0e332e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      Dockerfile

+ 1
- 1
Dockerfile Dosyayı Görüntüle

@ -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

Yükleniyor…
İptal
Kaydet