docker-compose build
docker-compose run web
Dockerfile bye.txt docker-compose.yml hello.txt
Created
October 10, 2015 05:18
-
-
Save bltavares/7dce60ff79aa5fbeb3c1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
bye |
This file contains hidden or 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
web: | |
build: . | |
volumes: | |
- "/counterstrike" | |
ports: | |
- "3000:3000" |
This file contains hidden or 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 alpine:3.2 | |
RUN mkdir /counterstrike | |
WORKDIR /counterstrike | |
ADD * /counterstrike/ | |
EXPOSE 3000 | |
CMD ls /counterstrike |
This file contains hidden or 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
hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment