Skip to content

Instantly share code, notes, and snippets.

@ddimick
Created January 3, 2021 05:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddimick/d0e82da4805775bb12f2995b20fa223a to your computer and use it in GitHub Desktop.
Save ddimick/d0e82da4805775bb12f2995b20fa223a to your computer and use it in GitHub Desktop.
Dockerfile to build image for govizlora/optical-breacher
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