Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
aceite-tecnico-backend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Renan de Jesus Montenegro da Silva
aceite-tecnico-backend
Commits
b395b541
Commit
b395b541
authored
Jul 30, 2025
by
Renan de Jesus Montenegro da Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:"adição de volumes para upload de imagem no docker-compose + Dockerfile"
parent
501e71ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
Dockerfile
Dockerfile
+1
-0
docker-compose.yml
docker-compose.yml
+2
-0
No files found.
Dockerfile
View file @
b395b541
...
...
@@ -6,6 +6,7 @@ RUN ls /app/target
FROM
openjdk:21
EXPOSE
8080
RUN
mkdir
-p
/app/arquivos
&&
chmod
777 /app/arquivos
COPY
.env .
COPY
--from=builder /app/target/*.jar docker-demo-app-two.jar
ENTRYPOINT
["java", "-jar", "/docker-demo-app-two.jar"]
\ No newline at end of file
docker-compose.yml
View file @
b395b541
...
...
@@ -18,6 +18,8 @@ services:
-
9090:8080
networks
:
-
aceite-net
volumes
:
-
./uploads:/app/arquivos
mysql
:
image
:
mysql:9
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment