1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/Dockerfile
Stig Kleppe-Jørgensen 4854ca58e7 Add files for creating docker image
* Base on a small node image (alpine-node)
* Exclude some files from docker build to make the build go faster
2020-02-20 08:30:23 +01:00

12 lines
141 B
Docker

FROM mhart/alpine-node:0.10.38
COPY . .
RUN npm install --production && \
npm run build
EXPOSE 4242
ENTRYPOINT ["npm"]
CMD ["start"]