mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-30 22:09:35 +02:00
chore: improve docker image
This commit is contained in:
1 parent
51e7aabb90
commit
a3a8667d6d
1 file changed
+3
-4
+3
-4
@@ -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