Created
April 4, 2019 11:30
-
-
Save dane-stevens/8a5192f3becedfe5d9292a16383b4f8c to your computer and use it in GitHub Desktop.
Sample dockerfile
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 mhart/alpine-node:10 | |
WORKDIR /app | |
EXPOSE 5000 | |
# Install http server | |
RUN yarn global add serve | |
# Bundle app source | |
COPY build /app/build | |
# Run serve | |
CMD [ "serve", "-n", "-s", "build" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment