[build] Finish new Dockerfile
This commit is contained in:
parent
fa514a9d3e
commit
f703c03916
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ EXPOSE 8000
|
||||||
# Build blog
|
# Build blog
|
||||||
ADD . /opt/tazblog/src
|
ADD . /opt/tazblog/src
|
||||||
WORKDIR /opt/tazblog/src
|
WORKDIR /opt/tazblog/src
|
||||||
RUN stack build && cp .stack-work/
|
RUN stack install && cp /root/.local/bin/tazblog /usr/bin/tazblog
|
||||||
|
|
||||||
# Done!
|
# Done!
|
||||||
CMD /usr/bin/tazblog
|
CMD /usr/bin/tazblog
|
||||||
|
|
Loading…
Reference in a new issue