mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 02:42:45 +00:00
chore: improve docker image
This commit is contained in:
@@ -5,9 +5,8 @@ EXPOSE $PORT
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm install -g nodemon
|
||||
|
||||
COPY package*.json .
|
||||
COPY package.json .
|
||||
COPY package-lock.json .
|
||||
|
||||
RUN npm install
|
||||
|
||||
@@ -15,4 +14,4 @@ COPY src .
|
||||
COPY index.ts .
|
||||
COPY public .
|
||||
|
||||
CMD [ "nodemon", "--transpile-only", "index.ts" ]
|
||||
CMD [ "npm", "run", "start" ]
|
||||
Reference in New Issue
Block a user