Skip to content

Commit

Permalink
# This is a combination of 4 commits.
Browse files Browse the repository at this point in the history
# This is the 1st commit message:

Add MethodResponse support for aws-apigateway

# This is the commit message aws#2:

Remove Dockerfile that was no longer needed

# This is the commit message aws#3:

Update python base image from 3.6 to 3.6.5

# This is the commit message aws#4:

Make the dockerfile work
  • Loading branch information
john-shaskin authored and John Shaskin committed Jan 18, 2019
1 parent 33c2a6d commit f626ceb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
packages/
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM python:3.7.2
RUN apt-get update && \
apt-get -y install make g++ rsync git zip vim && \
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
apt-get -y install nodejs && \
npm install -g lerna
ENV NPM_CONFIG_PREFIX=/home/root/.npm-global

# USER node
RUN mkdir -p /home/node/build
WORKDIR /home/node/build

# Add lerna aliases
RUN echo "alias lr='lerna run --stream --scope \$(node -p \"require(\\\"./package.json\\\").name\")'" >> ~/.bashrc && \
echo "alias lb='lr build'" >> ~/.bashrc && \
echo "alias lt='lr test'" >> ~/.bashrc && \
echo "alias lw='lr watch'" >> ~/.bashrc

CMD ["bash"]

0 comments on commit f626ceb

Please sign in to comment.