Skip to content
Snippets Groups Projects
Commit 73efe344 authored by Felipe Cecagno's avatar Felipe Cecagno
Browse files

update Dockerfile

parent d3639bb6
No related merge requests found
FROM node:8-slim FROM node:8-slim
ADD . app ENV NODE_ENV production
WORKDIR app
RUN cp config_local.js.example config_local.js WORKDIR /app
ENV NODE_ENV production ADD package.json package-lock.json /app/
RUN npm install \ RUN npm install \
&& npm cache clear --force && npm cache clear --force
ADD . /app
RUN cp config/default.example.yml config/default.yml
EXPOSE 3005 EXPOSE 3005
CMD ["node", "app.js"] CMD ["node", "app.js"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment