Merge pull request #3 from nomadic-labs/install-python-dockerfile

add python installation to dockerfile
This commit is contained in:
edwardsbrentg 2020-09-06 17:22:13 -04:00 committed by GitHub
commit 4912ce6f61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,8 @@
FROM node:10-alpine FROM node:10-alpine
RUN sudo apt-get update
RUN sudo apt-get install python
RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
WORKDIR /home/node/app WORKDIR /home/node/app