Explorar el Código

compile-time microoptimization

master
Archivist hace 5 años
padre
commit
12de0e332e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      Dockerfile

+ 1
- 1
Dockerfile Ver fichero

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

Cargando…
Cancelar
Guardar