Skip to content

Commit

Permalink
fix: base dockerfile updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mguptahub committed May 23, 2024
1 parent f0cc2d0 commit b917916
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions aio/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,16 @@ RUN apt-get update && apt-get install -y \
supervisor \
nginx \
curl \
python3-pip
python3-pip \
build-essential \
libssl-dev \
python3-dev \
bzip2 \
xz-utils \
zlib1g \
libxml2-dev \
libxslt1-dev \
libpopt0

# Installing Postgres
RUN apt-get update && apt-get install -y postgresql postgresql-contrib
Expand All @@ -39,9 +48,9 @@ RUN mkdir -p /data/postgres /data/redis /data/minio && \
chown -R redis:redis /data/redis && \
chown -R root:root /data/minio

COPY ./supervisor.base /code/supervisor.conf
COPY ./supervisor.base /app/supervisor.conf

# Expose the necessary ports
EXPOSE 5432 6379 9000 9001 80 443
EXPOSE 5432 6379 9001 80 443

CMD ["supervisord","-c","/code/supervisor.conf"]
CMD ["supervisord","-c","/app/supervisor.conf"]

0 comments on commit b917916

Please sign in to comment.