Skip to content

Instantly share code, notes, and snippets.

@renegr
Created November 10, 2016 10:29
Show Gist options
  • Save renegr/1a6dd6937b62b53f09ad0dd2fc9c3f49 to your computer and use it in GitHub Desktop.
Save renegr/1a6dd6937b62b53f09ad0dd2fc9c3f49 to your computer and use it in GitHub Desktop.
eve-docker-patch
eve:
build: .
ports:
- 18080:8080
diff --git a/Dockerfile b/Dockerfile
index 31ca255..83d6ed5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,11 +1,7 @@
-FROM ubuntu:16.04
+FROM node:6-slim
MAINTAINER Kodowa, Inc. <info@kodowa.com>
ADD / /eve
-RUN apt-get update && apt-get install -y \
- nodejs \
- npm
-RUN ln -s /usr/bin/nodejs /usr/bin/node
WORKDIR /eve
RUN npm install
EXPOSE 8080
-CMD npm start
\ No newline at end of file
+CMD npm start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment