Skip to content

Commit

Permalink
trying out dockerfile with ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
alberto98fx committed Jun 23, 2023
1 parent 1b6cd91 commit bf122f3
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
FROM node:18-alpine

RUN apk update
RUN apk add --update-cache curl wget nano chromium

ENV CACHE_MAXSIZE=1000
ENV CACHE_TTL=6000

ENV CHROME_BIN=/usr/bin/chromium-browser
ENV CHROME_PATH=/usr/lib/chromium/
FROM ubuntu:latest

RUN apt update && apt install -y nano curl wget software-properties-common sudo nodejs npm
RUN add-apt-repository ppa:savoury1/chromium
RUN apt update && apt install -y chromium-browser

USER root
WORKDIR "/home/node"
Expand Down

0 comments on commit bf122f3

Please sign in to comment.