chore: docker config

This commit is contained in:
RcleydsonR committed 2022-10-24 21:32:58 -03:00
1 parent 12f599d31e
commit 5150ea7284
2 files changed
+21

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
FROM node:lts-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY ./ ./
EXPOSE 3000
CMD ["npm", "run", "start"]
+11
View File
@@ -0,0 +1,11 @@
version: '3.8'
services:
p2pix:
container_name: p2pix_frontend
build:
context: .
volumes:
- '.:/app'
ports:
- '3000:3000'