8000 Updated Dockerfile by Rajdeep1311 · Pull Request #43 · aerabi/events · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Updated Dockerfile #43

8000
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions frontend/events/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Builder container to compile typescript
# Builder container to compile TypeScript
FROM node:lts-alpine AS build
WORKDIR /usr/src/app

Expand All @@ -9,11 +9,14 @@ RUN npm ci

# Copy the application source
COPY . .
# Build typescript
# Build TypeScript
RUN npm run build

# Snyk Docker scan
RUN npm install -g snyk
RUN snyk test


# Final image for serving the application
FROM nginx:stable-alpine

COPY nginx.conf /etc/nginx/nginx.conf
Expand Down
0