0
0

Hckrnws: updated Dockerfile and globals.css

This commit is contained in:
Opnxng 2024-10-13 01:38:52 +08:00
parent cde5f98bd8
commit 9a1ca38fca
2 changed files with 386 additions and 391 deletions

File diff suppressed because it is too large Load Diff

View File

@ -11,13 +11,16 @@ COPY package.json pnpm-lock.yaml ./
RUN npm install -g pnpm
# Install project dependencies
RUN pnpm install
RUN pnpm install --frozen-lockfile
# Copy the rest of the application code
COPY . .
# Build the application for production
RUN pnpm run build
# Expose the port
EXPOSE 3000
# Command to run the application
CMD ["pnpm", "run", "dev"]
# Command to run the application in production
CMD ["pnpm", "run", "start"]