Skip to content

Commit

Permalink
Use rockylinux as base image
Browse files Browse the repository at this point in the history
Update npm packages
Fix express server listen method
  • Loading branch information
robkaandorp committed Jan 11, 2023
1 parent cf2cad5 commit b01034c
Show file tree
Hide file tree
Showing 4 changed files with 505 additions and 271 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM centos AS base
FROM rockylinux:9-minimal AS base
RUN curl -fsSL https://rpm.nodesource.com/setup_lts.x | bash -
RUN yum install -y nodejs nfs-utils
RUN yum clean packages && yum clean metadata && yum clean all && rm -rf /var/cache/dnf
RUN microdnf install -y nodejs nfs-utils
RUN microdnf clean all
RUN npm update -g

FROM base AS builder
COPY . /app
Expand Down
Loading

0 comments on commit b01034c

Please sign in to comment.