Current Version
This commit is contained in:
1 parent
aef8a08dd8
commit
cb5d091be2
9 files changed
+1424
-3
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files first for better layer caching
|
||||
COPY package.json package-lock.json* ./
|
||||
|
||||
RUN npm ci --omit=dev
|
||||
|
||||
# Copy the rest of the application
|
||||
COPY server.js ./
|
||||
COPY public/ ./public/
|
||||
COPY assets/ ./assets/
|
||||
|
||||
# Create data directory for the database
|
||||
RUN mkdir -p /app/data
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "server.js"]
|
||||
Reference in new issue
Block a user