update
This commit is contained in:
@@ -20,8 +20,11 @@ RUN pnpm install --frozen-lockfile
|
|||||||
COPY . .
|
COPY . .
|
||||||
COPY nginx.conf /etc/nginx/http.d/default.conf
|
COPY nginx.conf /etc/nginx/http.d/default.conf
|
||||||
|
|
||||||
# Create directories
|
# Just fix nginx permissions - let nginx create what it needs
|
||||||
RUN mkdir -p /var/log/nginx /var/lib/nginx/tmp /static-files
|
RUN chown -R nginx:nginx /var/lib/nginx /var/log/nginx
|
||||||
|
|
||||||
|
# Create static files directory
|
||||||
|
RUN mkdir -p /static-files
|
||||||
|
|
||||||
# Expose ports
|
# Expose ports
|
||||||
EXPOSE 3000 80
|
EXPOSE 3000 80
|
||||||
|
|||||||
Reference in New Issue
Block a user