diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..90902791 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM node:hydrogen-alpine +WORKDIR /app +COPY . . +RUN yarn install +CMD ["node", "dev-server.js"] +EXPOSE 4000 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..47dc2947 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +version: '3' + +services: + app: + build: ./ + ports: + - 4000:4000