We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16c9f6f commit f5313feCopy full SHA for f5313fe
Dockerfile
@@ -0,0 +1,10 @@
1
+FROM mhart/alpine-node:12
2
+
3
+WORKDIR /usr/src/app
4
+COPY ["package.json", "yarn.lock", "./"]
5
+RUN yarn install
6
+COPY . .
7
+EXPOSE 3000
8
+EXPOSE 9000
9
10
+CMD [ "yarn", "run", "dev" ]
docker-compose.yml
@@ -0,0 +1,14 @@
+version: '3'
+services:
+ client:
+ container_name: example_client
+ build: .
+ command: yarn run start
+ volumes:
+ - ./:/usr/src/app
+ - nodemodules_client:/usr/src/netlify_app/node_modules
+ ports:
11
+ - "3000:3000"
12
+ - "9000:9000"
13
+volumes:
14
+ nodemodules_client:
0 commit comments