Fix permission errors in Dockerfile and update docker-compose.yml
This commit is contained in:
1 parent
b4fe1c7b73
commit
55ad865707
2 files changed
+4
-2
No files matched your search
@@ -15,6 +15,8 @@ COPY src ./src
|
||||
COPY bot.properties.example bot.properties ./
|
||||
COPY startup.sh ./
|
||||
|
||||
RUN ["chmod", "+x", "./mvnw"]
|
||||
RUN ./mvnw install
|
||||
|
||||
RUN ["chmod", "+x", "./startup.sh"]
|
||||
CMD ["./startup.sh"]
|
||||
+2
-2
@@ -4,7 +4,7 @@ services:
|
||||
db:
|
||||
image: mariadb:10.7
|
||||
container_name: db
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- netneutrality-db:/var/lib/mysql
|
||||
- ./sql:/docker-entrypoint-initdb.d
|
||||
@@ -21,7 +21,7 @@ services:
|
||||
bot:
|
||||
container_name: bot
|
||||
build: ./
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
|
||||
Reference in new issue
Block a user