nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gamnit: don't delete simple_2d_program at on_stop, in case of restart
[nit.git]
/
misc
/
docker
/
hello
/
Dockerfile
1
FROM nitlang/nit
2
3
# Create a workdir
4
RUN mkdir -p /work
5
WORKDIR /work
6
7
# Copy the source code in /work/
8
COPY . /work/
9
10
# Compile
11
RUN nitc src/hello.nit --dir . \
12
# Clear disk space
13
&& ccache -C
14
# You can also use a Makefile or what you want
15
16
# Say what to run
17
CMD ["./hello"]