mirror of
https://github.com/DerTyp7/f1r3wave-website.git
synced 2025-10-28 20:42:12 +01:00
Create data folder in dockerfile
This commit is contained in:
@@ -38,12 +38,14 @@ COPY --from=builder /app/public ./public
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
||||
|
||||
RUN mkdir -p data && chown nextjs:nodejs data
|
||||
|
||||
USER nextjs
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
ENV PORT=3000
|
||||
RUN mkdir -p /app/data && chown nextjs:nextjs /app/data
|
||||
|
||||
# server.js is created by next build from the standalone output
|
||||
# https://nextjs.org/docs/pages/api-reference/config/next-config-js/output
|
||||
ENV HOSTNAME="0.0.0.0"
|
||||
|
||||
Reference in New Issue
Block a user