forked from noxious/server
rm db url
This commit is contained in:
parent
30863a7d84
commit
38bf5c07b6
@ -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 && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user