Spaces:
Build error
Build error
Update Dockerfile
Browse files24 unmodified lines252627282930314 unmodified lines3637383940414243444546474824 unmodified linesRUN apt-get update \&& apt-get install -y --no-install-recommends postgresql-client \&& apt-get clean \&& rm -rf /var/lib/apt/lists/*# Switch to the root userUSER root4 unmodified lines# Copy the rest of the backend files to the containerCOPY ./ .FROM redis:latest AS redisRUN redis-serverFROM postgres:latest# Start PostgresRUN postgres# Create user, database, and grant privilegesRUN su psql -U postgres -c "CREATE USER postadmin WITH PASSWORD 'postpass';"24 unmodified lines2526272829303132333435363738394 unmodified lines44454647484924 unmodified linesRUN apt-get update \&& apt-get install -y --no-install-recommends postgresql-client \&& apt-get clean \&& rm -rf /var/lib/apt/lists/FROM redis:latest AS redisRUN redis-serverFROM postgres:latest# Start PostgresRUN postgres# Switch to the root userUSER root4 unmodified lines# Copy the rest of the backend files to the containerCOPY ./ .# Create user, database, and grant privilegesRUN su psql -U postgres -c "CREATE USER postadmin WITH PASSWORD 'postpass';"
Dockerfile+9-8