~starkingdoms/starkingdoms

ref: 69a76f69c78c5e3c0cf249d50d5a8b142debc176 starkingdoms/web.Dockerfile -rw-r--r-- 262 bytes
69a76f69 — core fix assets not getting copied into the docker container 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM node

RUN npm i -g parcel

COPY client /client

RUN cd /client && yarn
RUN cd /client && yarn build

FROM nginx

COPY --from=0 /client/dist /usr/share/nginx/html
COPY assets /usr/share/nginx/html
COPY docker/mime-types.conf /etc/nginx/conf.d/mime-types.conf