mirror of
https://github.com/jakejarvis/simpip.git
synced 2026-10-17 18:33:28 -04:00
add Dockerfile for simple testing
This commit is contained in:
1 file changed
+13
+13
@@ -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"]
|
||||||
Reference in new issue
Block a user