Implementation of a generic backend of eshop in Crystal
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

14 satır
405 B

5 yıl önce
5 yıl önce
5 yıl önce
  1. FROM alpine:latest
  2. RUN apk add --no-cache crystal shards openssl openssl-dev musl-dev libc6-compat
  3. COPY . /opt/app/
  4. RUN cd /opt/app && \
  5. shards
  6. ENV KEMAL_ENV test
  7. RUN cd /opt/app/ && crystal spec
  8. ENV KEMAL_ENV production
  9. 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
  10. CMD /opt/app/sales_backend