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.
 
 

10 lines
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