You've already forked pypi-proxy
fix: Replace ADD with COPY for entrypoint
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
FROM nginx:latest AS build
|
||||
|
||||
COPY conf/nginx.conf /etc/nginx/nginx.conf
|
||||
ADD --chmod=a+x entrypoint/docker-entrypoint.sh /docker-entrypoint.sh
|
||||
COPY entrypoint/docker-entrypoint.sh /docker-entrypoint.sh
|
||||
|
||||
# Create the folder structure for the cache
|
||||
RUN mkdir -p /var/lib/nginx/pypi && \
|
||||
chown -R www-data:www-data /var/lib/nginx
|
||||
chown -R www-data:www-data /var/lib/nginx && \
|
||||
chmod a+x /docker-entrypoint.sh
|
||||
|
||||
FROM scratch as final
|
||||
|
||||
|
||||
Reference in New Issue
Block a user