Skip to content

Commit

Permalink
Merge branch '#557' into qa
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonDarumatic committed Jun 15, 2019
2 parents 7c0c35d + 44451f4 commit 75c6467
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile-prod
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ RUN apk update && apk add --no-cache bash py-pip jq
RUN npm install -g [email protected] && npm install -g pm2@latest
RUN apk add mysql-client

RUN pip install awscli --upgrade --user && \
echo "export PATH=$PATH:~/.local/bin/" >> ~/.bashrc

COPY ./ /opt/efcsydney-roster/
RUN ls /opt/efcsydney-roster/
Expand All @@ -23,5 +21,8 @@ RUN addgroup -S efcuser && adduser -S efcuser -G efcuser
RUN chown efcuser:efcuser -R /opt/efcsydney-roster

USER efcuser
RUN pip install awscli --upgrade --user && \
echo "export PATH=$PATH:~/.local/bin/" >> ~/.bashrc

EXPOSE 3000 3001 3002
ENTRYPOINT ["/bin/bash", "-ex", "/opt/efcsydney-roster/docker/Entrypoint.sh", "prod"]

0 comments on commit 75c6467

Please sign in to comment.