Skip to content

Commit a6be158

Browse files
committed
try node again
1 parent ef523ed commit a6be158

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

epicshop/Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM oven/bun:latest as base
1+
FROM node:24-bookworm-slim as base
2+
3+
RUN apt-get update && apt-get install -y git
24

35
ENV EPICSHOP_CONTEXT_CWD="/myapp/workshop-content"
46
ENV EPICSHOP_DEPLOYED="true"
@@ -9,16 +11,13 @@ ENV NODE_ENV="production"
911

1012
WORKDIR /myapp
1113

12-
# Install git for cloning the workshop template
13-
RUN apt-get update && apt-get install -y git
14-
1514
# Clone the workshop repo during build time
1615
RUN git clone --depth 1 https://github.com/epicweb-dev/web-auth ${EPICSHOP_CONTEXT_CWD}
1716

1817
ADD . .
1918

20-
RUN rm -f package-lock.json && bun install --production
19+
RUN npm install --omit=dev
2120

2221
CMD echo "Starting up..." && \
2322
cd ${EPICSHOP_CONTEXT_CWD} && \
24-
bunx epicshop start
23+
npx epicshop start

0 commit comments

Comments
 (0)