-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
87cce64
commit 8ddd457
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM node:lts-alpine3.18 | ||
RUN mkdir -p /usr/src/app | ||
WORKDIR /usr/src/app | ||
|
||
# Install dependencies | ||
RUN apk update && apk upgrade | ||
RUN apk add --no-cache git | ||
|
||
# Copy source code | ||
COPY . /usr/src/app | ||
RUN npm install | ||
RUN npm run build | ||
|
||
# Expose port | ||
EXPOSE 3000 | ||
|
||
# Environment variables | ||
ENV NUXT_HOST=0.0.0.0 | ||
ENV NUXT_PORT=3000 | ||
|
||
# Run the app | ||
CMD ["npm", "start"] |
8ddd457
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
hyperbit-website – ./
hyperbit-website-hyperbit-srls.vercel.app
hyperbit-website.vercel.app
hyperbit-website-git-main-hyperbit-srls.vercel.app
www.hyperbit.it
hyperbit.it