mirror of
https://github.com/soconnor0919/hristudio.git
synced 2025-12-12 07:04:44 -05:00
Form implementation, api routes
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -1,5 +1,8 @@
|
||||
# Use the Node.js 18 Alpine Linux image as the base image
|
||||
FROM node:22-alpine
|
||||
FROM node:22-alpine
|
||||
|
||||
# Install GraphicsMagick
|
||||
RUN apk add --no-cache graphicsmagick ghostscript
|
||||
|
||||
# Set the working directory inside the container to /app
|
||||
WORKDIR /app
|
||||
@@ -14,8 +17,15 @@ RUN pnpm install
|
||||
# Copy all the files from the local directory to the working directory in the container
|
||||
COPY . .
|
||||
|
||||
# Push database schema to database
|
||||
RUN pnpm drizzle-kit push
|
||||
# # Clear previous build artifacts
|
||||
# RUN rm -rf .next
|
||||
|
||||
# # Build the application
|
||||
# RUN pnpm build
|
||||
|
||||
# # Ensure correct permissions
|
||||
# RUN chown -R node:node .
|
||||
# USER node
|
||||
|
||||
# Run the application in development mode
|
||||
CMD ["pnpm", "run", "dev"]
|
||||
Reference in New Issue
Block a user