-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
20 lines (13 loc) · 847 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM polly-registry:23443/polly-registry/wkndr:wkndr-1c9a28ffbfca8c5784107eab0e33a3a0518153f8 AS wkndr
#RUN /var/lib/wkndr/iterate-web.sh
#COPY resources/shaders /var/lib/wkndr/resources/shaders
COPY resources/* /var/lib/wkndr/resources/
COPY Wkndrfile Wkndrfile.mkmaze /var/lib/wkndr/
RUN ls -lh /var/lib/wkndr/resources
#RUN /var/lib/wkndr/simple-bake.sh
RUN cd /root/emsdk && . ./emsdk_env.sh && cd /var/lib/wkndr && find release -name "*.o" -delete && find release -name "*.a" && emmake make release/wkndr.html
RUN /var/lib/wkndr/simple-cp.sh
#RUN /var/lib/wkndr/iterate-server.sh clean
#RUN /var/lib/wkndr/iterate-server.sh
RUN ls -lh /var/lib/wkndr/release/ /var/lib/wkndr/public
CMD ["/var/lib/wkndr/release/wkndr.mruby", "--server=/var/lib/wkndr/public", "--and-client", "--client=-1x-1", "--party=/var/lib/wkndr/Wkndrfile.mkmaze"]