Skip to content

Instantly share code, notes, and snippets.

@crush-157
Created May 29, 2020 17:12
Show Gist options
  • Save crush-157/12017eb7dfeabb8731c4197283ddef2b to your computer and use it in GitHub Desktop.
Save crush-157/12017eb7dfeabb8731c4197283ddef2b to your computer and use it in GitHub Desktop.
FROM crystallang/crystal
RUN mkdir /tmp/crystal-cache
ENV CRYSTAL_CACHE_DIR /tmp/crystal-cache
WORKDIR /app
COPY func.cr .
RUN crystal build func.cr
RUN mkdir -p /tmp/iofs
CMD ./func
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment