Spaces:
Hamed744
/
Sleeping

ai / Dockerfile
Hamed744's picture
Update Dockerfile
c646a5b verified
raw
history blame contribute delete
509 Bytes
#
# 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"]