Implementation of a generic backend of eshop in Crystal
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 rivejä
325 B

6 vuotta sitten
6 vuotta sitten
  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. 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
  7. CMD /opt/app/sales_backend