An authentication server
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

16 lignes
441 B

il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
  1. FROM alpine:edge
  2. RUN apk add --no-cache crystal shards openssl openssl-dev musl-dev libc6-compat zlib-dev sqlite-dev
  3. RUN crystal -v >&2
  4. COPY . /opt/app/
  5. RUN cd /opt/app && \
  6. shards
  7. ENV KEMAL_ENV test
  8. RUN cd /opt/app/ && crystal spec
  9. ENV KEMAL_ENV production
  10. RUN cd /opt/app/ && crystal build --mcpu $(gcc -march=native -Q --help=target|grep march|awk '{print $2}'|head -n 1) --release src/authenticate.cr
  11. CMD /opt/app/authenticate