Skip to content

Commit

Permalink
Update docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Inkvi committed May 10, 2024
1 parent 43ccc1c commit 471fd93
Show file tree
Hide file tree
Showing 6 changed files with 431 additions and 67 deletions.
12 changes: 4 additions & 8 deletions Dockerfile
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"]

58 changes: 0 additions & 58 deletions main.ts

This file was deleted.

Loading

0 comments on commit 471fd93

Please sign in to comment.