-
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
Inkvi
committed
May 10, 2024
1 parent
43ccc1c
commit 471fd93
Showing
6 changed files
with
431 additions
and
67 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 |
---|---|---|
@@ -1,20 +1,16 @@ | ||
# Use the official Node.js 14 image as a base | ||
FROM node:18-alpine | ||
|
||
# Set the working directory in the container | ||
WORKDIR /app | ||
|
||
# Copy package.json and package-lock.json (if available) | ||
COPY package*.json ./ | ||
|
||
# Install dependencies | ||
RUN npm install | ||
|
||
# Copy the rest of the application code | ||
COPY main.ts . | ||
COPY src/KMSProviderGCP.ts . | ||
COPY src src | ||
|
||
RUN npm install -g ts-node | ||
|
||
CMD ["ts-node", "main.ts"] | ||
EXPOSE 8000 | ||
|
||
CMD ["ts-node", "src/server.ts"] | ||
|
Oops, something went wrong.