Created
February 17, 2018 12:48
-
-
Save claudiajkang/d17dbca2c8534743623dac9db26cdb4d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# debuggin ver Dockerfile | |
FROM ubuntu:16.04 | |
MAINTAINER floweryroads@gmail.com | |
RUN apt-get -y update | |
RUN apt-get install -y curl | |
RUN curl -sL https://deb.nodesource.com/setup_9.x | bash - | |
RUN apt-get install -y git python3-pip python3-dev nodejs | |
RUN echo '{ "allow_root": true }' > /root/.bowerrc | |
RUN npm install -g bower | |
COPY requirements.txt /requirements.txt | |
RUN pip3 install -r /requirements.txt | |
COPY . /app | |
WORKDIR /app | |
RUN npm install | |
RUN bower install | |
RUN npm run node-sass | |
ENTRYPOINT ["python3"] | |
CMD ["server.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker run --name=database -d -e MYSQL_DATABASE=FloweryRoads -e MYSQL_ROOT_PASSWORD=Dt17-2letm mysql/mysql-server:5.7
docker run --name=api -d -p 5001:8081 -e LANG=en_US.UTF-8 --link database:db api
docker run --name=api -d -p 5000:8080 front