This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:6.6 | |
# add node modules folder to path and set global node path | |
ENV NODE_PATH /opt/node_modules | |
ENV PATH /opt/node_modules/.bin:$PATH | |
# copy dependency file for npm into the container --> everytime (to update possible dependencies) | |
ADD package.json /opt/package.json | |
# rm old node_modules |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'socket' | |
test_file = ARGV[0] | |
socket = UNIXSocket.new('testing.sock') | |
socket.write(test_file) | |
socket.close_write |