93c244694a
This Dockerfile can be used for building a Docker image of Webogram that launches a container with Node listening on port 8000. This image uses the official nginx image as its base.
11 lines
129 B
Docker
11 lines
129 B
Docker
FROM node
|
|
|
|
ADD . /opt/webogram
|
|
WORKDIR /opt/webogram
|
|
|
|
RUN npm install
|
|
|
|
EXPOSE 8000
|
|
|
|
CMD ["node", "server.js", "8000", "0.0.0.0"]
|