Implemented default admin account

This commit is contained in:
2021-02-11 13:18:18 +11:00
parent 01f17360b9
commit 7759a1cd40
7 changed files with 36 additions and 34 deletions
-2
View File
@@ -151,7 +151,6 @@ networks:
const dockerfile = `
FROM node:15
WORKDIR "/app"
WORKDIR "/app"
COPY package*.json ./
RUN npm install
RUN apt-get update
@@ -159,7 +158,6 @@ RUN apt-get install -y mariadb-client
COPY . /app
EXPOSE 3000
ENTRYPOINT ["bash", "-c"]
CMD ["mysql --host=database --user=root --password=${databaseRootPassword} < ./startup.sql && npm start"]
`;