mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
Merge ad9b2e6aa5 into 8fac5cd58b
This commit is contained in:
commit
c41d2696f7
2 changed files with 21 additions and 0 deletions
9
client/Dockerfile
Normal file
9
client/Dockerfile
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM node:current-alpine
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install --legacy-peer-deps
|
||||
COPY . .
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD [ "npm", "run", "build" ]
|
||||
12
server/Dockerfile
Normal file
12
server/Dockerfile
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
FROM node:current-alpine
|
||||
|
||||
WORKDIR /server
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install --legacy-peer-deps
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD [ "node", "build/server.js" ]
|
||||
Loading…
Reference in a new issue