1
0
forked from noxious/server

rm db url

This commit is contained in:
Dennis Postma 2024-07-10 22:21:55 +02:00
parent 30863a7d84
commit 38bf5c07b6

View File

@ -25,9 +25,6 @@ RUN npm run build
# Expose the port your Node.js application will listen on # Expose the port your Node.js application will listen on
EXPOSE 80 EXPOSE 80
# Set environment variables
ENV DATABASE_URL=mysql://root:BEVLqLReqUyA@srv-captain--nq-db:3306/new-quest
# Create a shell script to run migrations and start the application # Create a shell script to run migrations and start the application
RUN echo '#!/bin/sh' > /usr/src/app/start.sh && \ RUN echo '#!/bin/sh' > /usr/src/app/start.sh && \
echo 'npx prisma migrate deploy' >> /usr/src/app/start.sh && \ echo 'npx prisma migrate deploy' >> /usr/src/app/start.sh && \