9 lines
189 B
Docker
9 lines
189 B
Docker
|
FROM nginx:latest
|
||
|
|
||
|
COPY dist/ /app/
|
||
|
RUN mkdir /cnf && chown 777 /cnf
|
||
|
COPY nginx.conf /cnf/nginx.conf
|
||
|
EXPOSE 5100
|
||
|
WORKDIR /app
|
||
|
|
||
|
CMD [ "sh", "-c", "nginx -g 'daemon off;' -c /cnf/nginx.conf"]
|