Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e88646cd14 | |||
| 698b23aff0 | |||
| a2df1d852c | |||
| 6f9e319ec8 |
@@ -17,9 +17,6 @@ jobs:
|
||||
shell: bash
|
||||
run: echo "AKKOMA_VERSION=${GITHUB_REF_NAME#refs/tags/v}" >> $GITHUB_ENV
|
||||
|
||||
- name: Install Docker
|
||||
run: curl -fsSL https://get.docker.com | sh
|
||||
|
||||
- name: Configure Docker credentials
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM alpine:3.17
|
||||
FROM alpine:3.19
|
||||
|
||||
ENV MIX_ENV prod
|
||||
ENV PATH "${PATH}:/opt/akkoma/bin"
|
||||
@@ -7,7 +7,7 @@ ENV AKKOMA_CONFIG_PATH "/config/config.exs"
|
||||
# Install required (and optional) packages
|
||||
RUN awk 'NR==2' /etc/apk/repositories | sed 's/main/community/' | tee -a /etc/apk/repositories && \
|
||||
apk update && \
|
||||
apk add su-exec curl unzip ncurses file-dev imagemagick ffmpeg exiftool libcrypto1.1
|
||||
apk add su-exec curl unzip ncurses file-dev imagemagick ffmpeg exiftool
|
||||
|
||||
# Set entrypoint
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
|
||||
@@ -4,7 +4,7 @@ set -e
|
||||
if [ "$1" = 'pleroma' ] || [ "$1" = 'pleroma_ctl' ]
|
||||
then
|
||||
|
||||
mkdir -p /data/{uploads,static}
|
||||
mkdir -p /data/uploads /data/static
|
||||
mkdir -p /config
|
||||
chown -R akkoma /data /config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user