Created
November 24, 2023 19:59
-
-
Save 1kevinson/86502239a0b29d243d3378f6428db60c to your computer and use it in GitHub Desktop.
Simple Elysia js dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM oven/bun:1-alpine | |
LABEL description="backend application" | |
WORKDIR /app | |
COPY package.json . | |
RUN bun install | |
RUN bun install --frozen-lockfile --production | |
COPY . . | |
ENV NODE_ENV production | |
CMD ["bun", "src/index.js"] | |
EXPOSE 3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment