Skip to content

Instantly share code, notes, and snippets.

@ddimick
Created January 3, 2021 05:00
Show Gist options
  • Select an option

  • Save ddimick/d0e82da4805775bb12f2995b20fa223a to your computer and use it in GitHub Desktop.

Select an option

Save ddimick/d0e82da4805775bb12f2995b20fa223a to your computer and use it in GitHub Desktop.

Revisions

  1. ddimick created this gist Jan 3, 2021.
    15 changes: 15 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    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" ]