Created
January 3, 2021 05:00
-
-
Save ddimick/d0e82da4805775bb12f2995b20fa223a to your computer and use it in GitHub Desktop.
Dockerfile to build image for govizlora/optical-breacher
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 node:current-alpine | |
EXPOSE 1234 | |
WORKDIR /home/node/app | |
RUN apk --no-cache add git \ | |
&& chown node:node /home/node/app | |
USER node | |
RUN git clone https://github.com/govizlora/optical-breacher.git . \ | |
&& yarn install | |
ENTRYPOINT [ "sh", "-c", "yarn start" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment