fix: removed ./start.sh script
This commit is contained in:
@@ -10,7 +10,7 @@ COPY src ./src
|
|||||||
COPY server ./server
|
COPY server ./server
|
||||||
COPY tsconfig.json ./
|
COPY tsconfig.json ./
|
||||||
COPY server/tsconfig.json ./server/
|
COPY server/tsconfig.json ./server/
|
||||||
COPY server/start.sh ./
|
# COPY server/start.sh ./
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN npm install
|
RUN npm install
|
||||||
@@ -74,10 +74,10 @@ RUN apt-get update && apt-get install -y \
|
|||||||
# RUN mkdir -p /var/run/dbus
|
# RUN mkdir -p /var/run/dbus
|
||||||
|
|
||||||
# Make the script executable
|
# Make the script executable
|
||||||
RUN chmod +x ./start.sh
|
# RUN chmod +x ./start.sh
|
||||||
|
|
||||||
# Expose the backend port
|
# Expose the backend port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
# Start the backend using the start script
|
# Start the backend using the start script
|
||||||
CMD ["./start.sh"]
|
CMD ["npm", "run", "server"]
|
||||||
Reference in New Issue
Block a user