14 lines
304 B
Docker
14 lines
304 B
Docker
FROM nginx:alpine
|
|
|
|
LABEL description="HTTP server for OpenPGP public keys"
|
|
|
|
RUN rm -f /etc/nginx/conf.d/default.conf
|
|
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
RUN mkdir -p /usr/share/nginx/html/keys \
|
|
&& chown -R nginx:nginx /usr/share/nginx/html
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["nginx", "-g", "daemon off;"] |