mirror of
https://github.com/Sithranduil/srcds_exporter.git
synced 2025-07-23 08:28:00 +02:00
Découpage en module
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
FROM alpine:latest
|
||||
RUN apk add nodejs npm --no-cache
|
||||
COPY . .
|
||||
FROM node:current-alpine3.12
|
||||
WORKDIR /data
|
||||
RUN npm install --only=prod
|
||||
RUN npm install nodemon -g
|
||||
|
||||
CMD ["node", "index.js"]
|
||||
# CMD ["node", "index.js"]
|
||||
CMD ["nodemon", "index.js"]
|
||||
EXPOSE 9591
|
Reference in New Issue
Block a user