10 lines
286 B
Docker
10 lines
286 B
Docker
FROM nginx:alpine
|
|
LABEL maintainer="Jay <admin@trj.tw>"
|
|
# ARG PREFIX
|
|
RUN mkdir -p /data
|
|
WORKDIR /data
|
|
COPY dist/ /data
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
# RUN sed -i 's@\$\$prefix\$\$@'${PREFIX}'@' /etc/nginx/conf.d/default.conf
|
|
EXPOSE 80
|
|
CMD ["nginx", "-g", "daemon off;"] |