15 lines
359 B
Docker
15 lines
359 B
Docker
# use the official ubuntu image
|
|
FROM oven/bun:1.0.18-debian as base
|
|
WORKDIR /usr/src/prasi
|
|
|
|
COPY . .
|
|
RUN apt-get install curl gnupg -yq
|
|
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash \
|
|
RUN apt-get install nodejs -yq
|
|
RUN npm i -g node-gyp-build-optional-packages @parcel/watcher
|
|
RUN bun install
|
|
RUN bun run build
|
|
|
|
EXPOSE 3000
|
|
CMD [ "bun run prod" ]
|