pushing the dockerfile since building locally seems to be broken
This commit is contained in:
parent
10255b7c72
commit
a159138162
2 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@ RUN cd /temp/dev && bun install --frozen-lockfile
|
|||
RUN mkdir -p /temp/prod
|
||||
COPY package.json bun.lockb /temp/prod/
|
||||
RUN cd /temp/prod && bun install --frozen-lockfile --production
|
||||
RUN echo "SESSION_SECRET=$(openssl rand -base64 15)" > .env
|
||||
|
||||
FROM base AS prerelease
|
||||
COPY --from=install /temp/dev/node_modules node_modules
|
||||
|
@ -28,5 +29,5 @@ COPY --from=prerelease /usr/src/app/.vinxi .vinxi
|
|||
COPY --from=prerelease /usr/src/app/.output .output
|
||||
|
||||
USER bun
|
||||
EXPOSE 3000/tcp
|
||||
EXPOSE 3000
|
||||
ENTRYPOINT [ "bun", "run", "start" ]
|
Loading…
Add table
Add a link
Reference in a new issue