forked from github.com/pypiserver
e0bff63ab9
Co-authored-by: Pelle Koster <pelle.koster@nginfra.nl>
12 lines
324 B
Bash
Executable File
12 lines
324 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
# chown the VOLUME mount set in the dockerfile
|
|
# If you're using an alternative directory for packages,
|
|
# you'll need to ensure that pypiserver has read and
|
|
# write access to that directory
|
|
chown -R pypiserver:pypiserver /data/packages
|
|
|
|
exec gosu pypiserver pypi-server -p "$PORT" $@
|