Skip to content

Commit

Permalink
Merge pull request #7 from jeancarloshs/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
jeancarloshs authored Mar 17, 2024
2 parents 40ff59a + ebf50f3 commit 471b87c
Show file tree
Hide file tree
Showing 27 changed files with 1,196 additions and 457 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:alpine

RUN mkdir -p /usr/app/apiProvisionamento
WORKDIR /usr/app/apiProvisionamento

COPY package*.json ./
RUN npm install

COPY . .

EXPOSE 3000

CMD [ "npm", "start" ]
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: '3'

services:
app:
build: .
command: npm run dev
ports:
- 3000:3000
volumes:
- .:/usr/app/apiProvisionamento
environment:
- NODE_ENV=development
Loading

0 comments on commit 471b87c

Please sign in to comment.