Commit bd4c8cbe authored by Benjamin Bouvier's avatar Benjamin Bouvier
Browse files

Make Kresus within the Dockerfile reachable from the outside;

parent 50a0c406
......@@ -10,12 +10,18 @@ RUN apt-get update -y && \
# Setup project layout
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY build /usr/src/app/build
COPY bin /usr/src/app/bin
# Install app dependencies
COPY package.json package.json
RUN npm install --production
# Copy source
COPY build /usr/src/app/build
COPY bin /usr/src/app/bin
# Run server
ENV HOST 0.0.0.0
CMD bin/kresus.js
# Expose the port on which Kresus is running.
EXPOSE 9876
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment