1
mirror of https://github.com/jakejarvis/simpip.git synced 2025-06-27 13:55:42 -04:00

add Dockerfile for simple testing

This commit is contained in:
2019-10-22 14:26:52 -04:00
parent 36f3c27ebd
commit 15a221beac

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM node:10
# gyp requires `--unsafe-perm`:
# https://stackoverflow.com/a/52658196/1438024
RUN npm install -g --unsafe-perm @dollarshaveclub/cloudworker
WORKDIR /app
COPY . .
EXPOSE 3000
ENTRYPOINT ["cloudworker"]
CMD ["index.js"]