Skip to content

Commit

Permalink
does this work? (also lol, sani)
Browse files Browse the repository at this point in the history
  • Loading branch information
meadowsys committed Oct 6, 2023
1 parent f1eb5d6 commit eb3ebfd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
software-properties-common \
&& rm -rf /var/lib/apt/lists/*

# RUN useradd -m sani
# USER sani
# RUN useradd -m canni
# USER canni

ENV PNPM_VERSION 8.6.12
ENV PNPM_HOME /root/.local/share/pnpm
Expand All @@ -17,7 +17,7 @@ RUN curl -fsSL https://get.pnpm.io/install.sh | SHELL=`/bin/bash` sh - \
ENV NODE_VERSION 14.21.3
RUN pnpm env use -g ${NODE_VERSION}

WORKDIR /home/sani/app
WORKDIR /home/canni/app


COPY . .
Expand All @@ -34,6 +34,6 @@ COPY LICENSE LICENSE
ENV NODE_ENV production

FROM debian:bullseye-slim
WORKDIR /home/sani/app
COPY --from=build /home/sani/app .
WORKDIR /home/canni/app
COPY --from=build . .
CMD ["node", "main.js"]

0 comments on commit eb3ebfd

Please sign in to comment.