DinisCruz's picture
added first version of docusaurus website , including GH action
f8a007d
raw
history blame
472 Bytes
# Use the official Node.js 18.2-slim image from Docker Hub
FROM node:18.2-slim
# Set the working directory to /app
WORKDIR /app
# Copy the package.json and package-lock.json
COPY package*.json ./
# Install any needed packages specified in package.json
RUN npm install
# Make port 3000 available to the world outside this container
EXPOSE 3000
# make sure to mount the site on /app/site folder
WORKDIR /app/site
CMD ["sh", "-c", "npx docusaurus start --host 0.0.0.0"]