Blackclip/Dockerfile

19 lines
256 B
Text
Raw Normal View History

2024-06-17 17:22:22 -04:00
FROM node:lts AS runtime
WORKDIR /app
# Copy site to Docker image
COPY . .
# Install packages
RUN npm install
RUN npm run build
# Set website host and port
ENV HOST=0.0.0.0
ENV PORT=4321
# Expose Port
EXPOSE 4321
# Run
CMD node ./dist/server/entry.mjs