Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lutra committed Aug 28, 2019
1 parent 6d8ee1c commit 86a5777
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:lts-alpine

RUN mkdir -p /app
WORKDIR /app

COPY package.json server.js /app/
COPY lib /app/lib/
RUN npm install

ENV CORSANYWHERE_TARGET_WHITELIST "^https?:\/\/duckduckgo\.com"

CMD [ "node", "/app/server.js" ]
EXPOSE 8080

0 comments on commit 86a5777

Please sign in to comment.