mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-01-24 05:53:40 -05:00
16 lines
387 B
Docker
16 lines
387 B
Docker
FROM nginx:alpine
|
|
|
|
# Install OpenSSL
|
|
RUN apk add --no-cache openssl
|
|
|
|
# Copy configuration and entrypoint script
|
|
COPY apps/server/nginx.conf /etc/nginx/nginx.conf
|
|
COPY apps/server/entrypoint.sh /docker-entrypoint.sh
|
|
|
|
# Create SSL directory
|
|
RUN mkdir -p /etc/nginx/ssl && chmod 755 /etc/nginx/ssl \
|
|
&& chmod +x /docker-entrypoint.sh
|
|
|
|
EXPOSE 80 443
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|