Skip to content

Commit

Permalink
Update Containerfile: use LTS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
soubinan committed Nov 13, 2023
1 parent b617980 commit eb6c506
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build base
FROM node:18 as build_base
FROM node:lts as build_base

RUN apt-get update -y && \
apt-get upgrade -y && \
Expand All @@ -10,7 +10,7 @@ RUN apt-get update -y && \


# Run base
FROM node:18-slim as run_base
FROM node:lts-slim as run_base

RUN apt-get update -y && \
apt-get upgrade -y && \
Expand Down Expand Up @@ -69,4 +69,4 @@ VOLUME [ "/etc/xo-server", "/var/lib/xo-server", "/var/lib/xoa-backup" ]

EXPOSE 8080

CMD ["node", "dist/cli.mjs"]
CMD ["node", "dist/cli.mjs"]

0 comments on commit eb6c506

Please sign in to comment.