Permissions issues on my deployment server... so I guess in-memory it
Some checks are pending
Deploy Encrypted Todo App / build-and-push (push) Has started running
Some checks are pending
Deploy Encrypted Todo App / build-and-push (push) Has started running
is!
This commit is contained in:
@ -9,21 +9,13 @@ RUN apt-get update && apt-get install -y \
|
||||
libc6 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy dependency files first for better caching
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install --prod
|
||||
|
||||
# Copy application files
|
||||
COPY server.js todo-service.js signal-crypto.js ./
|
||||
COPY public/ ./public/
|
||||
|
||||
# Expose port
|
||||
EXPOSE 3000
|
||||
|
||||
# Switch to non-root user
|
||||
USER node
|
||||
|
||||
# Start application
|
||||
CMD ["node", "server.js"]
|
||||
|
Reference in New Issue
Block a user