mirror of
https://github.com/jakejarvis/simpip.git
synced 2025-06-27 16:15:41 -04:00
add Dockerfile for simple testing
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user