Fix permission errors in Dockerfile and update docker-compose.yml

This commit is contained in:
anthorob committed 2023-05-24 16:15:33 -04:00
1 parent b4fe1c7b73
commit 55ad865707
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -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
View File
@@ -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: