mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-15 01:49:10 +00:00
modernization; add newlines and link catches to relevant places.
This commit is contained in:
parent
5a1fc526db
commit
005bc44bc1
11 changed files with 254 additions and 186 deletions
13
Dockerfile
13
Dockerfile
|
@ -1,8 +1,13 @@
|
|||
FROM node:10 AS builder
|
||||
ENV NODE_ENV production
|
||||
RUN npm i -g yarn
|
||||
COPY . /src
|
||||
RUN cd /src/UI && yarn && yarn build && cd /src/Server && yarn && mkdir public && mv /src/UI/build/* public
|
||||
# ENV NODE_ENV production
|
||||
COPY ./UI /src/UI
|
||||
RUN cd /src/UI && yarn && yarn build
|
||||
|
||||
COPY ./Server /src/Server
|
||||
RUN cd /src/Server && yarn
|
||||
|
||||
RUN cp -r /src/UI/build /src/Server/public
|
||||
|
||||
|
||||
FROM mhart/alpine-node:10
|
||||
ENV NODE_ENV production
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue