only restart issue and logout issue debugging added
This commit is contained in:
@@ -12,9 +12,15 @@ RUN npm install
|
||||
# Copy source code (will be mounted as volume, but needed for initial setup)
|
||||
COPY . .
|
||||
|
||||
# Copy startup script
|
||||
COPY container_startup.sh /app/
|
||||
RUN chmod +x /app/container_startup.sh
|
||||
|
||||
# Expose Vite dev server port
|
||||
EXPOSE 5173
|
||||
|
||||
# Use startup script as entrypoint to log container lifecycle
|
||||
# Start Vite dev server with host binding for Docker
|
||||
ENTRYPOINT ["/app/container_startup.sh"]
|
||||
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0", "--port", "5173"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user