balikobot-api/Dockerfile-nginx.dockerfile

14 lines
208 B
Plaintext
Raw Permalink Normal View History

2025-01-26 21:17:23 +01:00
FROM nginx:1.25.3-alpine
COPY docker/nginx/default.conf /etc/nginx/conf.d/default.conf
ARG UID=1000
ARG GID=1000
USER 0:0
RUN apk add shadow
RUN usermod -u $UID nginx
RUN groupmod -g $GID nginx
EXPOSE 80