Created
September 22, 2018 00:37
-
-
Save cybik/d3b840a3db7001726224485b15b3b375 to your computer and use it in GitHub Desktop.
Magic Docker
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
FROM screwdrivercd/screwdriver:stable | |
RUN apt-get update && apt-get install -y zip unzip && mkdir -p /localnpm | |
WORKDIR /localnpm | |
RUN wget https://github.com/minz1027/scm-gitlab/archive/master.zip && unzip master | |
WORKDIR /usr/src/app | |
RUN npm install /localnpm/scm-gitlab-master | |
# Expose the web service port | |
EXPOSE 80 | |
WORKDIR /usr/src/app/node_modules/screwdriver-api | |
# Run the service | |
CMD [ "npm", "start" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment