update
This commit is contained in:
parent
3c931a5f4a
commit
c33d047d4a
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user