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