An authentication server
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

9 行
325 B

  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