Implementation of a generic backend of eshop in Crystal
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

10 行
232 B

FROM alpine:latest
RUN apk add --no-cache crystal shards openssl openssl-dev musl-dev libc6-compat
COPY . /opt/app/
RUN cd /opt/app && \
shards
RUN cd /opt/app/ && crystal build src/sales_backend.cr
CMD /opt/app/sales_backend