Updated docker files
This commit is contained in:
@@ -1 +1,4 @@
|
||||
node_modules/*
|
||||
node_modules/*
|
||||
scripts/*
|
||||
package-lock.json
|
||||
.env
|
||||
|
||||
@@ -2,10 +2,8 @@ FROM node:19.8.1-alpine
|
||||
|
||||
COPY . /app
|
||||
|
||||
RUN rm -rf /app/.env
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm install
|
||||
|
||||
CMD ["node", "index.js"]
|
||||
CMD ["node", "index.js"]
|
||||
|
||||
Reference in New Issue
Block a user