mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
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" $@
|