Adding the Dockerfile to the root.
This commit is contained in:
parent
ac11e2d066
commit
33323b5ea1
@ -3,12 +3,12 @@ WORKDIR /usr/src/app
|
||||
|
||||
FROM base AS install
|
||||
RUN mkdir -p /temp/build
|
||||
COPY package.json bun.lockb /temp/build/
|
||||
COPY ./chat-app/package.json ./chat-app/bun.lockb /temp/build/
|
||||
RUN cd /temp/build && bun install --frozen-lockfile
|
||||
|
||||
FROM base AS release
|
||||
COPY --from=install /temp/build/node_modules node_modules
|
||||
COPY . .
|
||||
COPY ./chat-app .
|
||||
|
||||
ENV NODE_ENV=production
|
||||
RUN bun run build
|
@ -89,6 +89,19 @@
|
||||
|
||||
<!-- Dokku -->
|
||||
|
||||
<section>
|
||||
<h2>What Dokku Does</h2>
|
||||
<ul>
|
||||
<li>Creates a <code>dokku</code> user on your system</li>
|
||||
<li>Installs all the services for running Dokku
|
||||
<ul>
|
||||
<li>Docker</li>
|
||||
<li>NGiNX</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3>Create an application.</h3>
|
||||
<pre>
|
||||
|
Loading…
Reference in New Issue
Block a user