| # | |
| # SPDX-FileCopyrightText: Hadad <[email protected]> | |
| # SPDX-License-Identifier: MIT | |
| # | |
| # Use a specific container image for the sever | |
| FROM hadadrjt/playground:public-latest | |
| # Set the main working directory inside the container | |
| WORKDIR /app | |
| # Copy all files into the container | |
| COPY . . | |
| # Install all dependencies | |
| RUN npx assistant-ui@latest add syntax-highlighter \ | |
| && npm install \ | |
| && npm run build | |
| # Open the port so the web can be accessed | |
| EXPOSE 3000 | |
| # Start the server | |
| CMD ["npm", "start"] |