1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/packages/unleash-docker/Dockerfile
Ivar Conradi Østhus 77baaa5121 Introduce unleash-docker as a sperate submodule. (#136)
* Introduce unleash-docker as a sperate submodule.

this is related to #135 and will solve #126

* keep ide-user-settings out of repo

* Introduce unleash-docker as a sperate submodule.

this is related to #135 and will solve #126

* mv unleash-docker to packages/unleash-docker

* made docker work for now, by copying migrations

* minro cleanup

* docker on node:6

* minor cleanup
2020-02-20 08:30:26 +01:00

12 lines
276 B
Docker

FROM nodesource/wheezy:6
COPY . .
RUN npm install --production
RUN mkdir scripts && cp node_modules/unleash-server/scripts/migration-runner.js scripts/. && \
mkdir migrations && cp -r node_modules/unleash-server/migrations/* migrations/.
EXPOSE 4242
CMD node index.js