+1
-3
@@ -35,6 +35,4 @@ EXPOSE 3000
|
|||||||
ENV PORT=3000
|
ENV PORT=3000
|
||||||
ENV HOSTNAME="0.0.0.0"
|
ENV HOSTNAME="0.0.0.0"
|
||||||
|
|
||||||
COPY entrypoint.sh /app/entrypoint.sh
|
CMD ["node", "server.js"]
|
||||||
RUN chmod +x /app/entrypoint.sh
|
|
||||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# entrypoint.sh
|
|
||||||
|
|
||||||
echo "Running database push..."
|
|
||||||
npx prisma db push
|
|
||||||
|
|
||||||
echo "Starting application..."
|
|
||||||
node server.js
|
|
||||||
Reference in New Issue
Block a user